- Moved debug message in ssl_free() before clearing of ssl context
This commit is contained in:
parent
869117f4e4
commit
2da561c2a1
1 changed files with 3 additions and 2 deletions
|
@ -2050,9 +2050,10 @@ void ssl_free( ssl_context *ssl )
|
|||
ssl->hostname_len = 0;
|
||||
}
|
||||
|
||||
memset( ssl, 0, sizeof( ssl_context ) );
|
||||
|
||||
SSL_DEBUG_MSG( 2, ( "<= free" ) );
|
||||
|
||||
/* Actually free after last debug message */
|
||||
memset( ssl, 0, sizeof( ssl_context ) );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue