From: Nikos Mavrogiannopoulos Date: Thu, 9 Oct 2014 11:16:32 +0000 (+0200) Subject: pkcs11: handle errors from override_cert_exts as fatal X-Git-Tag: gnutls_3_4_0~806 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a41fe799ef252a7f963de76c98292b677970c92d;p=thirdparty%2Fgnutls.git pkcs11: handle errors from override_cert_exts as fatal --- diff --git a/lib/pkcs11.c b/lib/pkcs11.c index 03385bc041..45669889da 100644 --- a/lib/pkcs11.c +++ b/lib/pkcs11.c @@ -3323,7 +3323,7 @@ find_cert_cb(struct pkcs11_session_info *sinfo, ret = pkcs11_override_cert_exts(sinfo, &spki, &data); if (ret < 0) { gnutls_assert(); - /* non fatal error */ + goto cleanup; } } }