gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, gnutls_2_10_x, updated. gnutls_2_10_0-9-g301635


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, gnutls_2_10_x, updated. gnutls_2_10_0-9-g301635a
Date: Thu, 08 Jul 2010 15:28:16 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=301635adbc64b76c3bf998ba3a471750c49222c8

The branch, gnutls_2_10_x has been updated
       via  301635adbc64b76c3bf998ba3a471750c49222c8 (commit)
      from  e3617dd08019470a7c225e01c14bedd2ada7e52a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 301635adbc64b76c3bf998ba3a471750c49222c8
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Jul 8 17:28:01 2010 +0200

    gnutls-cli: Allow verification using V1 CAs.

-----------------------------------------------------------------------

Summary of changes:
 NEWS      |    2 ++
 src/cli.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 4c4a6a9..3aca5aa 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ See the end for copying conditions.
 
 * Version 2.10.1 (unreleased)
 
+** gnutls-cli: Allow verification using V1 CAs.
+
 ** libgnutls: Correctly deinitialize crypto API functions to prevent
 a memory leak. Reported by Mads Kiilerich.
 
diff --git a/src/cli.c b/src/cli.c
index 6b08bea..5a205ff 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -512,6 +512,7 @@ init_tls_session (const char *hostname)
 
   gnutls_certificate_client_set_retrieve_function (xcred, cert_callback);
   gnutls_certificate_set_verify_function (xcred, cert_verify_callback);
+  gnutls_certificate_set_verify_flags(xcred, 
GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT);
 
   /* send the fingerprint */
 #ifdef ENABLE_OPENPGP


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]