- Moved debug message in ssl_free() before clearing of ssl context

This commit is contained in:
Paul Bakker 2009-02-05 18:00:28 +00:00
parent 869117f4e4
commit 2da561c2a1

View file

@ -2050,9 +2050,10 @@ void ssl_free( ssl_context *ssl )
ssl->hostname_len = 0; ssl->hostname_len = 0;
} }
memset( ssl, 0, sizeof( ssl_context ) );
SSL_DEBUG_MSG( 2, ( "<= free" ) ); SSL_DEBUG_MSG( 2, ( "<= free" ) );
/* Actually free after last debug message */
memset( ssl, 0, sizeof( ssl_context ) );
} }
#endif #endif