Skip to content

Commit 02f04d7

Browse files
Update hitch configure
1 parent fc677d7 commit 02f04d7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

configure.ac

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8144,6 +8144,13 @@ then
81448144
ENABLED_OCSP="yes"
81458145
fi
81468146
8147+
# Requires CSR for wolfSSL_set_tlsext_status_ocsp_resp
8148+
if test "x$ENABLED_CERTIFICATE_STATUS_REQUEST" = "xno"
8149+
then
8150+
ENABLED_CERTIFICATE_STATUS_REQUEST="yes"
8151+
AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_CERTIFICATE_STATUS_REQUEST"
8152+
fi
8153+
81478154
# Requires ALPN
81488155
if test "x$ENABLED_ALPN" = "xno"
81498156
then
@@ -8166,6 +8173,8 @@ then
81668173
81678174
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HITCH -DHAVE_EX_DATA -DWOLFSSL_SIGNER_DER_CERT"
81688175
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_COMPATIBLE_DEFAULTS -DWOLFSSL_CIPHER_INTERNALNAME"
8176+
# wolfSSL inclusion of assert.h conflicts with hitch's assert definition
8177+
AM_CFLAGS="$AM_CFLAGS -DWC_NO_STATIC_ASSERT"
81698178
fi
81708179
81718180
if test "$ENABLED_MEMCACHED" = "yes"

0 commit comments

Comments
 (0)