summaryrefslogtreecommitdiffstats
path: root/tcpd/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'tcpd/configure.ac')
-rw-r--r--tcpd/configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/tcpd/configure.ac b/tcpd/configure.ac
index 3bc0e64..656c82c 100644
--- a/tcpd/configure.ac
+++ b/tcpd/configure.ac
@@ -568,11 +568,13 @@ RAND_bytes(dummy, 1);
AC_TRY_COMPILE( [
#include <openssl/ssl.h>
+
+SSL *p;
],
[
-SSL_get_servername((SSL *)0, TLSEXT_NAMETYPE_host_name);
+(void)SSL_get_servername(p, TLSEXT_NAMETYPE_host_name);
], [
- AC_DEFINE_UNQUOTED(HAVE_OPENSSL_SNI,1,[ When OpenSSL supports SNI ])
+ AC_DEFINE_UNQUOTED(HAVE_OPENSSL_SNI,1,[ Whether OpenSSL supports SNI ])
])
TLSLIBRARY="$LIBCOURIERTLSOPENSSL"