commit | e1621d47005f8aff6422678b0f003209168c5332 | [log] [tgz] |
---|---|---|
author | Jarno Lamsa <jarno.lamsa@arm.com> | Thu Dec 19 08:58:56 2019 +0200 |
committer | Jarno Lamsa <jarno.lamsa@arm.com> | Thu Dec 19 14:29:24 2019 +0200 |
tree | 61412368a0af7bc42dcf2c058d0e60911b9ded43 | |
parent | ba4730fe4c80e98d462b0cbe2df790a09a6c587b [diff] [blame] |
Check that the peer_authenticated flag Check that the peer has been authenticated in the end of the handshake.
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 08c65d2..4871885 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -4296,7 +4296,7 @@ break; case MBEDTLS_SSL_HANDSHAKE_WRAPUP: - mbedtls_ssl_handshake_wrapup( ssl ); + ret = mbedtls_ssl_handshake_wrapup( ssl ); break; case MBEDTLS_SSL_INVALID: