Improve error message.
GitOrigin-RevId: 66bb30764ac37d2086731814daf8683794b76a13
This commit is contained in:
parent
92d78e3b0b
commit
7072b0319d
@ -279,7 +279,7 @@ class SslStreamImpl {
|
|||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
if (SSL_CTX_load_verify_locations(ssl_ctx, cert_file.c_str(), nullptr) == 0) {
|
if (SSL_CTX_load_verify_locations(ssl_ctx, cert_file.c_str(), nullptr) == 0) {
|
||||||
return create_openssl_error(-8, "Failed to set custom cert file");
|
return create_openssl_error(-8, "Failed to set custom certificate file");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user