mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-26 04:31:07 +00:00
Adapt mbedtls_ssl_parse_certificate() to removal of peer_cert field
This commit is contained in:
parent
5062897507
commit
81d11aa640
|
@ -6715,10 +6715,10 @@ crt_verify:
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
|
#else
|
||||||
|
|
||||||
ssl->session_negotiate->peer_cert = chain;
|
ssl->session_negotiate->peer_cert = chain;
|
||||||
chain = NULL;
|
chain = NULL;
|
||||||
|
#endif /* !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate" ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue