diff options
-rw-r--r-- | lib/pkcs11.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pkcs11.c b/lib/pkcs11.c index d8d4a65114..0d5e83a0c6 100644 --- a/lib/pkcs11.c +++ b/lib/pkcs11.c @@ -598,7 +598,8 @@ gnutls_pkcs11_obj_set_info(gnutls_pkcs11_obj_t obj, break; default: gnutls_assert(); - return GNUTLS_E_INVALID_REQUEST; + ret = GNUTLS_E_INVALID_REQUEST; + goto cleanup; } ret = 0; |