cert: fix dropped errors (#961)

This commit is contained in:
Lars Lehtonen 2023-09-07 10:54:01 -07:00 committed by GitHub
parent f7e392995a
commit dbdb48f182
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -272,6 +272,9 @@ func EncryptAndMarshalSigningPrivateKey(curve Curve, b []byte, passphrase []byte
},
Ciphertext: ciphertext,
})
if err != nil {
return nil, err
}
switch curve {
case Curve_CURVE25519: