forked from wolfSSL/wolfssl
Add WOLFSSL_IP_ALT_NAME to --enable-curl; fix unused error in FindPsk
This commit is contained in:
@ -6025,6 +6025,12 @@ then
|
|||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALT_CERT_CHAINS"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALT_CERT_CHAINS"
|
||||||
fi
|
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"
|
if test "x$ENABLED_SESSION_TICKET" = "xno"
|
||||||
then
|
then
|
||||||
ENABLED_SESSION_TICKET="yes"
|
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. */
|
/* Check whether PSK ciphersuite is in SSL. */
|
||||||
found = (suite[0] == cipherSuite0) && (suite[1] == cipherSuite);
|
found = (suite[0] == cipherSuite0) && (suite[1] == cipherSuite);
|
||||||
#else
|
#else
|
||||||
|
(void)suite;
|
||||||
/* Check whether PSK ciphersuite is in SSL. */
|
/* Check whether PSK ciphersuite is in SSL. */
|
||||||
{
|
{
|
||||||
byte s[2] = {
|
byte s[2] = {
|
||||||
|
Reference in New Issue
Block a user