mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #3020 from SparkiDev/tls13_psk_cr
TLS 1.3: Never send CertiifcateRequest when PSK
This commit is contained in:
@ -3711,6 +3711,8 @@ static int DoPreSharedKeys(WOLFSSL* ssl, const byte* input, word32 helloSz,
|
|||||||
|
|
||||||
/* Default to ciphersuite if cb doesn't specify. */
|
/* Default to ciphersuite if cb doesn't specify. */
|
||||||
ssl->options.resuming = 0;
|
ssl->options.resuming = 0;
|
||||||
|
/* Don't send certificate request when using PSK. */
|
||||||
|
ssl->options.verifyPeer = 0;
|
||||||
|
|
||||||
/* PSK age is always zero. */
|
/* PSK age is always zero. */
|
||||||
if (current->ticketAge != ssl->session.ticketAdd)
|
if (current->ticketAge != ssl->session.ticketAdd)
|
||||||
|
@ -1515,7 +1515,7 @@ enum Misc {
|
|||||||
|
|
||||||
/* number of items in the signature algo list */
|
/* number of items in the signature algo list */
|
||||||
#ifndef WOLFSSL_MAX_SIGALGO
|
#ifndef WOLFSSL_MAX_SIGALGO
|
||||||
#define WOLFSSL_MAX_SIGALGO 32
|
#define WOLFSSL_MAX_SIGALGO 36
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user