Replace mbedtls_pk_get_name with pk_key_type_to_string

Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
Ben Taylor
2026-01-12 08:19:07 +00:00
parent f7173e4389
commit 2481daa309
6 changed files with 32 additions and 5 deletions
+2 -2
View File
@@ -2723,8 +2723,8 @@ usage:
}
mbedtls_printf(" ok (key types: %s, %s)\n",
key_cert_init ? mbedtls_pk_get_name(&pkey) : "none",
key_cert_init2 ? mbedtls_pk_get_name(&pkey2) : "none");
key_cert_init ? pk_key_type_to_string(&pkey) : "none",
key_cert_init2 ? pk_key_type_to_string(&pkey2) : "none");
#endif /* MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED */
#if defined(SNI_OPTION)