mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 12:00:53 +02:00
fix sanity check for DHE-PSK cipher suite handshake
This commit is contained in:
@@ -4834,6 +4834,7 @@ static int SanityCheckMsgReceived(CYASSL* ssl, byte type)
|
||||
|
||||
if (ssl->msgsReceived.got_certificate == 0) {
|
||||
if (ssl->specs.kea == psk_kea ||
|
||||
ssl->specs.kea == dhe_psk_kea ||
|
||||
ssl->options.usingAnon_cipher) {
|
||||
CYASSL_MSG("No Cert required");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user