From 7a7e3d160b0c08ed12c3d6f37f0ddc4dbc07006d Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 15 Apr 2017 22:32:41 -0600 Subject: [PATCH] context: Use crypto/rand in case method used for crypto purposes --- caddyhttp/httpserver/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/httpserver/context.go b/caddyhttp/httpserver/context.go index 52a5b556f..bdc59c81a 100644 --- a/caddyhttp/httpserver/context.go +++ b/caddyhttp/httpserver/context.go @@ -2,9 +2,9 @@ package httpserver import ( "bytes" + "crypto/rand" "fmt" "io/ioutil" - "math/rand" "net" "net/http" "net/url"