]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 10 Sep 2014 07:41:03 +0000 (09:41 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 10 Sep 2014 07:41:03 +0000 (09:41 +0200)
lib/x509/verify-high.c

index 6187d84da781190e81895ef55b67c1e546b30f2a..87c56f93718c014308db7b3cc8c1b107e93a2fd9 100644 (file)
@@ -978,6 +978,7 @@ gnutls_x509_trust_list_verify_crt2(gnutls_x509_trust_list_t list,
 
                ret = gnutls_x509_crt_get_extension_by_oid2(cert_list[0], "2.5.29.37", 0, &ext_data, NULL);
                if (ret < 0) {
+                       /* it's not a fatal error if the extended key usage extension isn't there */
                        gnutls_assert();
                        break;
                }
@@ -988,7 +989,6 @@ gnutls_x509_trust_list_verify_crt2(gnutls_x509_trust_list_t list,
                if (ret < 0) {
                        gnutls_assert();
                }
-
        } while(0);
 
        if (hostname) {