diff options
-rw-r--r-- | lib/x509/privkey_pkcs8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509/privkey_pkcs8.c b/lib/x509/privkey_pkcs8.c index ca638f6ebc..7f0b886cf9 100644 --- a/lib/x509/privkey_pkcs8.c +++ b/lib/x509/privkey_pkcs8.c @@ -881,6 +881,7 @@ static int decrypt_pkcs8_key(const gnutls_datum_t * raw_key, &kdf_params, &enc_params, &tmp); if (result < 0) { gnutls_assert(); + result = GNUTLS_E_DECRYPTION_FAILED; goto error; } |