Merge pull request #6476 from kareem-wolfssl/dtlsBlankCert

Send blank certificate message in DTLS when no client cert is loaded.
This commit is contained in:
John Safranek
2023-06-06 22:43:01 -07:00
committed by GitHub

View File

@@ -27394,7 +27394,7 @@ static int HashSkeData(WOLFSSL* ssl, enum wc_HashType hashType,
#ifdef OPENSSL_EXTRA
else
#else
else if (IsTLS(ssl))
else if (IsTLS(ssl) || ssl->options.dtls)
#endif
{
ssl->options.sendVerify = SEND_BLANK_CERT;