diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-02-11 17:07:30 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-02-11 17:07:30 +0100 |
commit | 5babf9728ae6f063fea93185d03cab0743d3a461 (patch) | |
tree | 0d0dab4a2aae2781a32400f58e9291bf81d00767 /lib/gnutls_x509.c | |
parent | 29c3b3e7acb542bd488ceb21b1c2e427d6af9a01 (diff) | |
download | gnutls-5babf9728ae6f063fea93185d03cab0743d3a461.tar.gz |
libgnutls: Add new priority strings for allowing RSA-MD5 and V1-CA.
Diffstat (limited to 'lib/gnutls_x509.c')
-rw-r--r-- | lib/gnutls_x509.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index d9e6b64be1..6b3c76bc2b 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation + * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation * * Author: Nikos Mavrogiannopoulos * @@ -171,12 +171,12 @@ _gnutls_x509_cert_verify_peers (gnutls_session_t session, /* Verify certificate */ - ret = - gnutls_x509_crt_list_verify (peer_certificate_list, - peer_certificate_list_size, - cred->x509_ca_list, cred->x509_ncas, - cred->x509_crl_list, cred->x509_ncrls, - cred->verify_flags, status); + ret = gnutls_x509_crt_list_verify (peer_certificate_list, + peer_certificate_list_size, + cred->x509_ca_list, cred->x509_ncas, + cred->x509_crl_list, cred->x509_ncrls, + cred->verify_flags | session->internals.priorities.additional_verify_flags, + status); CLEAR_CERTS; |