From 0489df95fc5ab2c84cd7830df97942a874e431d9 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 20 May 2009 01:05:35 -0400 Subject: check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey) --- plugins/netutils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/netutils.h') diff --git a/plugins/netutils.h b/plugins/netutils.h index b479b741..572a3ae2 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h @@ -99,6 +99,7 @@ extern int address_family; #ifdef HAVE_SSL /* maybe this could be merged with the above np_net_connect, via some flags */ int np_net_ssl_init(int sd); +int np_net_ssl_init_with_hostname(int sd, char *host_name); void np_net_ssl_cleanup(); int np_net_ssl_write(const void *buf, int num); int np_net_ssl_read(void *buf, int num); -- cgit v1.2.3-74-g34f1