mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
* 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
This commit is contained in:
parent
acf35f0ea7
commit
a5f7ede493
@ -364,6 +364,9 @@ static int send_cert_verify(SSL *ssl)
|
||||
RSA_CTX *rsa_ctx = ssl->ssl_ctx->rsa_ctx;
|
||||
int n = 0, ret;
|
||||
|
||||
if (rsa_ctx == NULL)
|
||||
return SSL_OK;
|
||||
|
||||
DISPLAY_RSA(ssl, rsa_ctx);
|
||||
|
||||
buf[0] = HS_CERT_VERIFY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user