Define functions required by HAProxy and enable SSLV3 dependency

This commit is contained in:
Carie Pointer 2018-07-26 12:53:21 -07:00
parent 74fbd06817
commit a1f69f0d64
3 changed files with 11 additions and 3 deletions

View File

@ -1529,6 +1529,11 @@ AC_ARG_ENABLE([sslv3],
[ ENABLED_SSLV3=no]
)
if test "x$ENABLED_HAPROXY" = "xyes"
then
ENABLED_SSLV3="yes"
fi
if test "$ENABLED_SSLV3" = "yes"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALLOW_SSLV3"

View File

@ -31538,8 +31538,9 @@ WOLFSSL_EVP_PKEY* wolfSSL_d2i_PrivateKey_EVP(WOLFSSL_EVP_PKEY** out,
/* stunnel compatibility functions*/
#if defined(OPENSSL_ALL) || (defined(OPENSSL_EXTRA) && (defined(HAVE_STUNNEL) \
|| defined(WOLFSSL_NGINX) || defined(HAVE_LIGHTY)))
#if defined(OPENSSL_ALL) || (defined(OPENSSL_EXTRA) && (defined(HAVE_STUNNEL) || \
defined(WOLFSSL_NGINX) || defined(HAVE_LIGHTY) || \
defined(WOLFSSL_HAPROXY)))
void wolfSSL_ERR_remove_thread_state(void* pid)
{
(void) pid;

View File

@ -2525,7 +2525,9 @@ struct WOLFSSL_CTX {
CallbackALPNSelect alpnSelect;
void* alpnSelectArg;
#endif
#if defined(OPENSSL_ALL) || (defined(OPENSSL_EXTRA) && (defined(HAVE_STUNNEL) || defined(WOLFSSL_NGINX) || defined(HAVE_LIGHTY)))
#if defined(OPENSSL_ALL) || (defined(OPENSSL_EXTRA) && (defined(HAVE_STUNNEL) || \
defined(WOLFSSL_NGINX) || defined(HAVE_LIGHTY) || \
defined(WOLFSSL_HAPROXY)))
CallbackSniRecv sniRecvCb;
void* sniRecvCbArg;
#endif