From c562df4b073a288862dd3c4ceaba7d6439f33b45 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 26 Apr 2012 10:19:52 +0200 Subject: Verify certificate CN against configured hostname. NOTE: The subjectAltName check is not well tested. --- lib/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/event.h') diff --git a/lib/event.h b/lib/event.h index e042599..befbd0d 100644 --- a/lib/event.h +++ b/lib/event.h @@ -2,7 +2,7 @@ See the file COPYING for licensing information. */ void event_on_disconnect (struct rs_connection *conn); -void event_on_connect (struct rs_connection *conn, struct rs_packet *pkt); +int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt); int event_loopbreak (struct rs_connection *conn); int event_init_eventbase (struct rs_connection *conn); int event_init_socket (struct rs_connection *conn, struct rs_peer *p); -- cgit v1.1