MBEDTLS_X509_BADCERT_CN_MISMATCH is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSMBEDTLS_X509_BADCERT_CN_MISMATCH

MBEDTLS_X509_BADCERT_CN_MISMATCH macro

The certificate Common Name (CN) does not match with the expected CN.

Syntax

#define MBEDTLS_X509_BADCERT_CN_MISMATCH 0x04

References

LocationText
x509.h:90
#define MBEDTLS_X509_BADCERT_CN_MISMATCH 0x04 /**< The certificate Common Name (CN) does not match with the expected CN. */
ssl_tls.c:5825
else if( ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_CN_MISMATCH )
x509_crt.c:1669
{ MBEDTLS_X509_BADCERT_CN_MISMATCH, "The certificate Common Name (CN) does not match with the expected CN" },
x509_crt.c:2447
*flags |= MBEDTLS_X509_BADCERT_CN_MISMATCH;
x509_crt.c:2461
*flags |= MBEDTLS_X509_BADCERT_CN_MISMATCH;