diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-10 09:41:03 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-15 14:03:52 +0200 |
commit | 4e9fc778e71d99ae69be97ade229b5c6f18c9d9d (patch) | |
tree | 591b8c7479b01f29c3f0b4fd4bc79ecbb1b35d17 | |
parent | 527cc2d809cb034d52e76a98562e01f27e539e3d (diff) | |
download | gnutls-4e9fc778e71d99ae69be97ade229b5c6f18c9d9d.tar.gz |
doc update
-rw-r--r-- | lib/x509/verify-high.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/verify-high.c b/lib/x509/verify-high.c index 1a23019b4b..b6ea887745 100644 --- a/lib/x509/verify-high.c +++ b/lib/x509/verify-high.c @@ -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) { |