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
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: