Fix suppression of an expected error.
This commit is contained in:
parent
bca2a9c78e
commit
64c718c0a1
@ -1114,7 +1114,7 @@ Status create_openssl_error(int code, Slice message) {
|
|||||||
void clear_openssl_errors(Slice source) {
|
void clear_openssl_errors(Slice source) {
|
||||||
if (ERR_peek_error() != 0) {
|
if (ERR_peek_error() != 0) {
|
||||||
auto error = create_openssl_error(0, "Unprocessed OPENSSL_ERROR");
|
auto error = create_openssl_error(0, "Unprocessed OPENSSL_ERROR");
|
||||||
if (!ends_with(error.message(), ":def_load:system lib}]")) {
|
if (!ends_with(error.message(), ":def_load:system lib}")) {
|
||||||
LOG(ERROR) << source << ": " << error;
|
LOG(ERROR) << source << ": " << error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user