]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
do not set verify_flags
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 4 Oct 2012 16:58:13 +0000 (18:58 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 4 Oct 2012 16:58:13 +0000 (18:58 +0200)
src/cli.c

index 6d99572f7513f33d18309a908d71a125b000a432..2ca5b26a9680ff36904dfa2596e3619ea81c0de7 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -605,7 +605,6 @@ init_tls_session (const char *hostname)
 
   gnutls_certificate_set_retrieve_function2 (xcred, cert_callback);
   gnutls_certificate_set_verify_function (xcred, cert_verify_callback);
-  gnutls_certificate_set_verify_flags (xcred, 0);
 
   /* send the fingerprint */
 #ifdef ENABLE_OPENPGP