summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-09 09:44:01 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-09 10:20:44 +0200
commite665044f1c8894993665fcc1030dc4344326797a (patch)
tree47475cf83c789016a6153bdfd76b6f8ab62c66d0 /src/serv.c
parentf7ad44f1b587e057070f57ceee521b8eecf060db (diff)
downloadgnutls-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.c4
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;
}