commit | 62d58ed97501cd5ce2db5c84c25f3b87a8516274 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Tue Feb 26 11:51:06 2019 +0000 |
committer | Hanno Becker <hanno.becker@arm.com> | Tue Feb 26 14:38:09 2019 +0000 |
tree | b2a88ca07a400b59143fb2ae53809005fbd2f3a9 | |
parent | 68838740136c5b5a3ee2fd3fbcd81bcccefad7fd [diff] [blame] |
Add debug output in case of assertion failure
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 1312e01..d309f6d 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -2297,6 +2297,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;