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.
 
 
 
 
 
 

12 lines
344 B

diff --git a/lib/pkcs11.c b/lib/pkcs11.c
index d99dedf..f5cf99d 100644
--- a/lib/pkcs11.c
+++ b/lib/pkcs11.c
@@ -3019,6 +3019,7 @@ gnutls_pkcs11_obj_list_import_url2(gnutls_pkcs11_obj_t ** p_list,
if (ret < 0) {
gnutls_assert();
if (ret == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) {
+ *p_list = NULL;
*n_list = 0;
ret = 0;
}