Change function name from mbedtls_pk_key_type_to_string to mbedtls_x509_pk_type_as_string

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor
2026-01-02 09:34:36 +00:00
parent f77d749127
commit 085aef59ca
6 changed files with 8 additions and 8 deletions

View File

@@ -1770,7 +1770,7 @@ usage:
mbedtls_printf(" ok (key type: %s)\n",
strlen(opt.key_file) || strlen(opt.key_opaque_alg1) ?
mbedtls_pk_key_type_to_string(&pkey) : "none");
mbedtls_x509_pk_type_as_string(&pkey) : "none");
#endif /* MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED */
/*

View File

@@ -2723,8 +2723,8 @@ usage:
}
mbedtls_printf(" ok (key types: %s, %s)\n",
key_cert_init ? mbedtls_pk_key_type_to_string(&pkey) : "none",
key_cert_init2 ? mbedtls_pk_key_type_to_string(&pkey2) : "none");
key_cert_init ? mbedtls_x509_pk_type_as_string(&pkey) : "none",
key_cert_init2 ? mbedtls_x509_pk_type_as_string(&pkey2) : "none");
#endif /* MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED */
#if defined(SNI_OPTION)