Skip to content

Commit

Permalink
ct/x509: fix dropped error (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs authored Aug 29, 2023
1 parent dbe6769 commit 3b5d618
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ct/x509/x509.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ func marshalPublicKey(pub interface{}) (publicKeyBytes []byte, publicKeyAlgorith
N: pub.N,
E: pub.E,
})
if err != nil {
return
}
publicKeyAlgorithm.Algorithm = oidPublicKeyRSA
// This is a NULL parameters value which is technically
// superfluous, but most other code includes it and, by
Expand Down

0 comments on commit 3b5d618

Please sign in to comment.