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/serv.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/serv.c')
-rw-r--r-- | src/serv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serv.c b/src/serv.c index 3f65605994..46dcbfd74f 100644 --- a/src/serv.c +++ b/src/serv.c @@ -1356,7 +1356,7 @@ static void tcp_server(const char *name, int port) cert_verify (j-> tls_session, - NULL); + NULL, NULL); } j->handshake_ok = 1; } @@ -1536,7 +1536,7 @@ static void tcp_server(const char *name, int port) cert_verify (j-> tls_session, - NULL); + NULL, NULL); } j->handshake_ok = 1; } |