commit | e9839c001b8102545e6777f425ddb5c82e20f576 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Tue Feb 26 11:51:06 2019 +0000 |
committer | Hanno Becker <hanno.becker@arm.com> | Wed Jun 19 14:59:41 2019 +0100 |
tree | bcb97fc90171bf9481755b73837ea88bb9f69416 | |
parent | 2984bd254317b2a2b660227d7e09c68ccf6d8d73 [diff] [blame] |
Add debug output in case of assertion failure
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 21797e7..c1cb6c3 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -2320,6 +2320,7 @@ 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;