You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
413 B

diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c
index 56c0163..368598b 100644
--- a/lib/nettle/pk.c
+++ b/lib/nettle/pk.c
@@ -2021,7 +2021,9 @@ static int wrap_nettle_hash_algorithm(gnutls_pk_algorithm_t pk,
break;
}
- _rsa_params_to_pubkey(issuer_params, &pub);
+ ret = _rsa_params_to_pubkey(issuer_params, &pub);
+ if (ret < 0)
+ return gnutls_assert_val(ret);
digest_size = sizeof(digest);