mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Rename back mbedtls_x509_parse_general_name->mbedtls_x509_parse_subject_alt_name
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
@ -458,7 +458,7 @@ void x509_parse_san(char *crt_file, char *result_str, int parse_result)
|
||||
if (crt.ext_types & MBEDTLS_X509_EXT_SUBJECT_ALT_NAME) {
|
||||
cur = &crt.subject_alt_names;
|
||||
while (cur != NULL) {
|
||||
ret = mbedtls_x509_parse_general_name(&cur->buf, &san);
|
||||
ret = mbedtls_x509_parse_subject_alt_name(&cur->buf, &san);
|
||||
TEST_ASSERT(ret == 0 || ret == MBEDTLS_ERR_X509_FEATURE_UNAVAILABLE);
|
||||
/*
|
||||
* If san type not supported, ignore.
|
||||
|
Reference in New Issue
Block a user