Adapt mbedtls_ssl_parse_certificate() to removal of peer_cert field

This commit is contained in:
Hanno Becker 2019-02-07 13:18:21 +00:00
parent 13c327d500
commit b6c5eca2d5

View file

@ -6301,10 +6301,10 @@ crt_verify:
goto exit;
}
}
#endif /* !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
#else
ssl->session_negotiate->peer_cert = chain;
chain = NULL;
#endif /* !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate" ) );