Merge pull request #6064 from embhorn/gh6063
Add WOLFSSL_IP_ALT_NAME to --enable-curl; fix unused error in FindPsk
This commit is contained in:
commit
05f8abd524
@ -6035,6 +6035,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"
|
||||
|
@ -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] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user