Skip to content

Commit a5f7ede

Browse files
author
cameronrich
committed
* Fixed client certificate issue where there is no client certificate and a certificate verify msg was still being sent.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@250 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
1 parent acf35f0 commit a5f7ede

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ssl/tls1_clnt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ static int send_cert_verify(SSL *ssl)
364364
RSA_CTX *rsa_ctx = ssl->ssl_ctx->rsa_ctx;
365365
int n = 0, ret;
366366

367+
if (rsa_ctx == NULL)
368+
return SSL_OK;
369+
367370
DISPLAY_RSA(ssl, rsa_ctx);
368371

369372
buf[0] = HS_CERT_VERIFY;

0 commit comments

Comments
 (0)