diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-09 09:44:01 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-09 10:20:44 +0200 |
commit | e665044f1c8894993665fcc1030dc4344326797a (patch) | |
tree | 47475cf83c789016a6153bdfd76b6f8ab62c66d0 /src/cli.c | |
parent | f7ad44f1b587e057070f57ceee521b8eecf060db (diff) | |
download | gnutls-e665044f1c8894993665fcc1030dc4344326797a.tar.gz |
Replaced gnutls_certificate_verify_peers3() with the extendable gnutls_certificate_verify_peers().
That will allow adding new functionality to verification
without the need to add new functions.
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -436,7 +436,7 @@ static int cert_verify_callback(gnutls_session_t session) print_cert_info(session, verbose, print_cert); if (ca_verify) { - rc = cert_verify(session, hostname); + rc = cert_verify(session, hostname, GNUTLS_KP_TLS_WWW_SERVER); if (rc == 0) { printf ("*** Verifying server certificate failed...\n"); |