Fix CE.
GitOrigin-RevId: 9186caef923dc157fcac2af9da8d8430b5d6290f
This commit is contained in:
parent
7767842d4c
commit
87871f58c9
@ -229,7 +229,7 @@ Result<SslCtx> do_create_ssl_ctx(CSlice cert_file, SslStream::VerifyPeer verify_
|
|||||||
if (SSL_CTX_set_default_verify_paths(ssl_ctx) == 0) {
|
if (SSL_CTX_set_default_verify_paths(ssl_ctx) == 0) {
|
||||||
auto error = create_openssl_error(-8, "Failed to load default verify paths");
|
auto error = create_openssl_error(-8, "Failed to load default verify paths");
|
||||||
if (verify_peer == SslStream::VerifyPeer::On) {
|
if (verify_peer == SslStream::VerifyPeer::On) {
|
||||||
return error;
|
return std::move(error);
|
||||||
} else {
|
} else {
|
||||||
LOG(ERROR) << error;
|
LOG(ERROR) << error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user