mbedtls: correct the error message for cert blob parsing failure

Closes #14224
This commit is contained in:
Bhanu Prakash 2024-07-18 18:17:26 +05:30 committed by Daniel Stenberg
parent 8c1d9378ac
commit c98f6fcde7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -654,7 +654,7 @@ mbed_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data)
if(ret) {
mbedtls_strerror(ret, errorbuf, sizeof(errorbuf));
failf(data, "Error reading private key %s - mbedTLS: (-0x%04X) %s",
failf(data, "Error reading client cert data %s - mbedTLS: (-0x%04X) %s",
ssl_config->key, -ret, errorbuf);
return CURLE_SSL_CERTPROBLEM;
}