From 877eb2edf652b1243849033fda2fe9c9ac9a9a2f Mon Sep 17 00:00:00 2001 From: John Papandriopoulos Date: Thu, 24 Sep 2020 01:58:38 -0700 Subject: [PATCH] Removed entropy checker on startup. --- rfc3161.go | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/rfc3161.go b/rfc3161.go index ac933e9..96ee83f 100644 --- a/rfc3161.go +++ b/rfc3161.go @@ -5,8 +5,6 @@ import ( "encoding/asn1" "errors" "mime" - - "github.com/cryptoballot/entropychecker" ) // Misc Errors @@ -89,15 +87,7 @@ func setMimeTypes() error { } func init() { - // Make sure we have sufficient entropy and fail to start if there isn't - // This only works on Linux. - err := entropychecker.WaitForEntropy() - if err != nil && err != entropychecker.ErrUnsupportedOS { - panic(err) - } - - err = setMimeTypes() - if err != nil { + if err := setMimeTypes(); err != nil { panic(err) } }