send blank cert on client if TLS instead of TLSv1.2, more accept this now and some even incorrectly require it

This commit is contained in:
toddouska 2013-08-26 12:34:39 -07:00
parent 081a3a57d4
commit 664c6de5d5

View File

@ -7257,7 +7257,7 @@ static void PickHashSigAlgo(CYASSL* ssl,
cert and private key */
if (ssl->buffers.certificate.buffer && ssl->buffers.key.buffer)
ssl->options.sendVerify = SEND_CERT;
else if (IsAtLeastTLSv1_2(ssl))
else if (IsTLS(ssl))
ssl->options.sendVerify = SEND_BLANK_CERT;
return 0;