diff --git a/crl/crlreader/crlreader.go b/crl/crlreader/crlreader.go index a781f08..bd180ca 100644 --- a/crl/crlreader/crlreader.go +++ b/crl/crlreader/crlreader.go @@ -337,7 +337,7 @@ func newHashingDERCRLReader(crlFile *os.File) hashing.HashingReaderWrapper { func newHashingPEMCRLReader(crlFile *os.File) hashing.HashingReaderWrapper { pemReader := pemreader.NewPemReader(bufio.NewReader(crlFile)) - decoder := base642.NewDecoder(base642.RawStdEncoding, &pemReader) + decoder := base642.NewDecoder(base642.StdEncoding, &pemReader) var reader = hashing.HashingReaderWrapper{ Reader: bufio.NewReader(decoder),