mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Add WOLFSSL_OLDTLS_AEAD_CIPHERSUITES to allow AEAD cipher suites in TLSv1.0 and TLSv1.1
This commit is contained in:
@@ -24521,6 +24521,7 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(WOLFSSL_OLDTLS_AEAD_CIPHERSUITES)
|
||||||
if (CipherRequires(first, second, REQUIRES_AEAD)) {
|
if (CipherRequires(first, second, REQUIRES_AEAD)) {
|
||||||
WOLFSSL_MSG("Requires AEAD");
|
WOLFSSL_MSG("Requires AEAD");
|
||||||
if (ssl->version.major == SSLv3_MAJOR &&
|
if (ssl->version.major == SSLv3_MAJOR &&
|
||||||
@@ -24530,6 +24531,7 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(HAVE_ECC) || defined(HAVE_CURVE25519)) && \
|
#if (defined(HAVE_ECC) || defined(HAVE_CURVE25519)) && \
|
||||||
defined(HAVE_SUPPORTED_CURVES)
|
defined(HAVE_SUPPORTED_CURVES)
|
||||||
|
Reference in New Issue
Block a user