diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-08-24 13:59:21 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-08-24 13:59:21 +0200 |
commit | d16b5c405e133e1b09bfb7b5c4d4b3687c1cd0e2 (patch) | |
tree | 63d9b0a04434854ec5e6fc8f4e0fd2b1349d1656 /lib/x509.c | |
parent | df278c0b7e77d80edd8ac9424f71490e521952cd (diff) | |
download | gnutls-d16b5c405e133e1b09bfb7b5c4d4b3687c1cd0e2.tar.gz |
Allow overriding the verification flags from the auto-verification functions
Diffstat (limited to 'lib/x509.c')
-rw-r--r-- | lib/x509.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/x509.c b/lib/x509.c index 59a856bba6..7a028485bd 100644 --- a/lib/x509.c +++ b/lib/x509.c @@ -225,8 +225,7 @@ _gnutls_x509_cert_verify_peers(gnutls_session_t session, } verify_flags = - cred->verify_flags | session->internals.priorities. - additional_verify_flags; + cred->verify_flags | session->internals.additional_verify_flags; /* generate a list of gnutls_certs based on the auth info * raw certs. */ |