109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
# include <openssl/conf.h>
#endif
], [
(void)SSL_set_tlsext_host_name((void *) 0, (void *) 0);
])], [
AC_MSG_RESULT([yes])
tcltls_cv_func_tlsext_hostname='yes'
tcltls_cv_func_tlsext_hostname='no'
], [
AC_MSG_RESULT([no])
])
AC_LANG_POP([C])
dnl AC_CHECK_FUNC(SSL_set_tlsext_host_name, [
dnl ], [
dnl ])
])
if test "$tcltls_cv_func_tlsext_hostname" = 'no'; then
AC_DEFINE([OPENSSL_NO_TLSEXT], [1], [Define this if your OpenSSL does not support the TLS Extension for SNI])
fi
dnl Restore compile-altering variables
|
<
>
<
<
<
<
|
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
# include <openssl/conf.h>
#endif
], [
(void)SSL_set_tlsext_host_name((void *) 0, (void *) 0);
])], [
AC_MSG_RESULT([yes])
tcltls_cv_func_tlsext_hostname='yes'
], [
AC_MSG_RESULT([no])
tcltls_cv_func_tlsext_hostname='no'
])
AC_LANG_POP([C])
])
if test "$tcltls_cv_func_tlsext_hostname" = 'no'; then
AC_DEFINE([OPENSSL_NO_TLSEXT], [1], [Define this if your OpenSSL does not support the TLS Extension for SNI])
fi
dnl Restore compile-altering variables
|