mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #4169 from SparkiDev/dh_anon_tls12
TLS: Get DH anon working TLS 1.2 and below
This commit is contained in:
@ -26502,11 +26502,13 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif /* !NO_PSK */
|
#endif /* !NO_PSK */
|
||||||
#if !defined(NO_DH) && (!defined(NO_PSK) || !defined(NO_RSA))
|
#if !defined(NO_DH) && (!defined(NO_PSK) || !defined(NO_RSA) \
|
||||||
|
|| (defined(HAVE_ANON) && !defined(WOLFSSL_NO_TLS12)))
|
||||||
#if !defined(NO_PSK)
|
#if !defined(NO_PSK)
|
||||||
case dhe_psk_kea:
|
case dhe_psk_kea:
|
||||||
#endif
|
#endif
|
||||||
#if !defined(NO_RSA)
|
#if !defined(NO_RSA) || (defined(HAVE_ANON) && \
|
||||||
|
!defined(WOLFSSL_NO_TLS12))
|
||||||
case diffie_hellman_kea:
|
case diffie_hellman_kea:
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
@ -27277,7 +27279,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_ECC || HAVE_CURVE25519 || HAVE_CURVE448 */
|
#endif /* HAVE_ECC || HAVE_CURVE25519 || HAVE_CURVE448 */
|
||||||
#if !defined(NO_DH) && !defined(NO_RSA)
|
#if !defined(NO_DH) && (!defined(NO_RSA) || \
|
||||||
|
(defined(HAVE_ANON) && !defined(WOLFSSL_NO_TLS12)))
|
||||||
case diffie_hellman_kea:
|
case diffie_hellman_kea:
|
||||||
{
|
{
|
||||||
enum wc_HashType hashType;
|
enum wc_HashType hashType;
|
||||||
|
Reference in New Issue
Block a user