1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

fixed memory leak in renegotiation

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@133 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich 2007-10-03 22:00:33 +00:00
parent 7ac1528ecd
commit 5094c5e81c

View File

@ -131,6 +131,7 @@ int do_client_connect(SSL *ssl)
ssl->bm_read_index = 0; ssl->bm_read_index = 0;
ssl->next_state = HS_SERVER_HELLO; ssl->next_state = HS_SERVER_HELLO;
ssl->hs_status = SSL_NOT_OK; /* not connected */ ssl->hs_status = SSL_NOT_OK; /* not connected */
x509_free(ssl->x509_ctx);
/* sit in a loop until it all looks good */ /* sit in a loop until it all looks good */
while (ssl->hs_status != SSL_OK) while (ssl->hs_status != SSL_OK)