mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:55:39 +01:00
- Moved debug message in ssl_free() before clearing of ssl context
This commit is contained in:
parent
869117f4e4
commit
2da561c2a1
@ -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 New Issue
Block a user