it and avoid it, even if this cripples the CCC command
OPENSSL_ENABLED=1
AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use]))
+ dnl yassl doesn't have SSL_get_shutdown ?
+ AC_CHECK_FUNCS( SSL_get_shutdown )
+
if test $ac_cv_header_openssl_x509_h = no; then
dnl we don't use the "action" part of the AC_CHECK_HEADERS macro
dnl since 'err.h' might in fact find a krb4 header with the same
} /* while()-loop for the select() */
if(data->set.verbose) {
+#ifdef HAVE_SSL_GET_SHUTDOWN
switch(SSL_get_shutdown(connssl->handle)) {
case SSL_SENT_SHUTDOWN:
infof(data, "SSL_get_shutdown() returned SSL_SENT_SHUTDOWN\n");
"SSL_RECEIVED__SHUTDOWN\n");
break;
}
+#endif
}
connssl->use = FALSE; /* get back to ordinary socket usage */