Skip to content

Commit

Permalink
Bugfix for padding characters
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRoettges committed Dec 1, 2023
1 parent f975251 commit c6b679c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crl/crlreader/crlreader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c6b679c

Please sign in to comment.