diff --git a/configure.ac b/configure.ac index add30560c..e3b952136 100644 --- a/configure.ac +++ b/configure.ac @@ -6025,6 +6025,12 @@ then AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALT_CERT_CHAINS" fi + if test "xENABLE_IP_ALT_NAME" = "xno" + then + ENABLE_IP_ALT_NAME="yes" + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_IP_ALT_NAME" + fi + if test "x$ENABLED_SESSION_TICKET" = "xno" then ENABLED_SESSION_TICKET="yes" diff --git a/src/tls13.c b/src/tls13.c index be09e0407..d95f5ba83 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -5507,6 +5507,7 @@ static int FindPsk(WOLFSSL* ssl, PreSharedKey* psk, const byte* suite, int* err) /* Check whether PSK ciphersuite is in SSL. */ found = (suite[0] == cipherSuite0) && (suite[1] == cipherSuite); #else + (void)suite; /* Check whether PSK ciphersuite is in SSL. */ { byte s[2] = {