Improve error message.

GitOrigin-RevId: 66bb30764ac37d2086731814daf8683794b76a13
This commit is contained in:
levlam 2018-12-07 01:57:51 +03:00
parent 92d78e3b0b
commit 7072b0319d

View File

@ -279,7 +279,7 @@ class SslStreamImpl {
#endif
} else {
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");
}
}