From 664c6de5d5b971f2a9cae950da017c6e99d21ac6 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 26 Aug 2013 12:34:39 -0700 Subject: [PATCH] send blank cert on client if TLS instead of TLSv1.2, more accept this now and some even incorrectly require it --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 708a6344c..9e512b603 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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;