1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

finishing touches to cert generation

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@144 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2007-12-02 08:01:12 +00:00
parent bffc3b2197
commit 785380660e
22 changed files with 348 additions and 306 deletions

View File

@ -378,7 +378,7 @@ static int process_client_key_xchg(SSL *ssl)
int offset = 4;
int ret = SSL_OK;
DISPLAY_RSA(ssl, "process_client_key_xchg", rsa_ctx);
DISPLAY_RSA(ssl, rsa_ctx);
/* is there an extra size field? */
if ((secret_length - 2) == rsa_ctx->num_octets)
@ -444,7 +444,7 @@ static int process_cert_verify(SSL *ssl)
PARANOIA_CHECK(pkt_size, x509_ctx->rsa_ctx->num_octets+6);
DISPLAY_RSA(ssl, "process_cert_verify", x509_ctx->rsa_ctx);
DISPLAY_RSA(ssl, x509_ctx->rsa_ctx);
/* rsa_ctx->bi_ctx is not thread-safe */
SSL_CTX_LOCK(ssl->ssl_ctx->mutex);