File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8436,6 +8436,10 @@ then
84368436 AM_CFLAGS="$AM_CFLAGS -DHAVE_EXT_CACHE -DHAVE_MEMCACHED"
84378437fi
84388438
8439+ if test "$ENABLED_LIBEVENT" = "yes"
8440+ then
8441+ AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_LIBEVENT"
8442+ fi
84398443
84408444if test "$ENABLED_NGINX" = "yes"|| test "x$ENABLED_HAPROXY" = "xyes" || test "x$ENABLED_LIGHTY" = "xyes"
84418445then
Original file line number Diff line number Diff line change 132132#if !defined(OPENSSL_COEXIST ) && \
133133 (defined(OPENSSL_EXTRA ) || defined(OPENSSL_EXTRA_X509_SMALL ))
134134
135+ #ifdef WOLFSSL_LIBEVENT
135136/* OpenSSL struct tag compatibility: third-party code (e.g. libevent) may
136- * forward-declare or reference the OpenSSL internal struct tags directly
137- `. */
137+ * forward-declare or reference the OpenSSL internal struct tags directly. */
138138#define ssl_st WOLFSSL
139139#define ssl_ctx_st WOLFSSL_CTX
140140#define ssl_method_st WOLFSSL_METHOD
146146#define bio_method_st WOLFSSL_BIO_METHOD
147147#define buf_mem_st WOLFSSL_BUF_MEM
148148#define evp_pkey_st WOLFSSL_EVP_PKEY
149+ #endif /* WOLFSSL_LIBEVENT */
149150
150151typedef WOLFSSL SSL ;
151152typedef WOLFSSL_SESSION SSL_SESSION ;
You can’t perform that action at this time.
0 commit comments