Adding wrapper function for certificate verification function

This commit is contained in:
Hannes Tschofenig 2020-12-03 15:48:12 +01:00
parent f336c7ea71
commit 4f8c88312c

View File

@ -1085,6 +1085,14 @@ int mbedtls_ssl_check_sig_hash( const mbedtls_ssl_context *ssl,
mbedtls_md_type_t md ); mbedtls_md_type_t md );
#endif #endif
#if defined(MBEDTLS_KEY_EXCHANGE__WITH_CERT__ENABLED) && defined(MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION)
int ssl_parse_delayed_certificate_verify( mbedtls_ssl_context *ssl,
int authmode,
mbedtls_x509_crt *chain,
void *rs_ctx );
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED && MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION */
static inline int mbedtls_ssl_get_minor_ver( mbedtls_ssl_context const *ssl ) static inline int mbedtls_ssl_get_minor_ver( mbedtls_ssl_context const *ssl )
{ {
#if !defined(MBEDTLS_SSL_CONF_FIXED_MINOR_VER) #if !defined(MBEDTLS_SSL_CONF_FIXED_MINOR_VER)