mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 22:45:48 +01:00
Add debug output in case of assertion failure
This commit is contained in:
parent
2984bd2543
commit
e9839c001b
@ -2320,6 +2320,7 @@ static int ssl_write_encrypted_pms( mbedtls_ssl_context *ssl,
|
||||
if( ssl->session_negotiate->peer_cert == NULL )
|
||||
{
|
||||
/* Should never happen */
|
||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) );
|
||||
return( MBEDTLS_ERR_SSL_INTERNAL_ERROR );
|
||||
}
|
||||
peer_pk = &ssl->session_negotiate->peer_cert->pk;
|
||||
|
Loading…
Reference in New Issue
Block a user