summaryrefslogtreecommitdiff
path: root/lib/event.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-26 10:19:52 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-26 10:19:52 +0200
commitc562df4b073a288862dd3c4ceaba7d6439f33b45 (patch)
tree4641c6f6d69314508b2455ac9cb5fdaa31c8d296 /lib/event.h
parent6e6672cffd42def79813dbf7f1588d2ce219ca79 (diff)
Verify certificate CN against configured hostname.
NOTE: The subjectAltName check is not well tested.
Diffstat (limited to 'lib/event.h')
-rw-r--r--lib/event.h2
1 files changed, 1 insertions, 1 deletions
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);