mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-06 02:30:57 -08:00
cert: fix dropped errors (#961)
This commit is contained in:
parent
f7e392995a
commit
dbdb48f182
2 changed files with 6 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue