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

@@ -1806,7 +1806,7 @@ int mbedtls_x509_crt_info(char *buf, size_t size, const char *prefix,
/* Key size */
if ((ret = mbedtls_x509_key_size_helper(key_size_str, MBEDTLS_BEFORE_COLON,
mbedtls_pk_key_type_to_string(&crt->pk))) != 0) {
mbedtls_x509_pk_type_as_string(&crt->pk))) != 0) {
return ret;
}