diff --git a/tdutils/td/utils/crypto.cpp b/tdutils/td/utils/crypto.cpp index ad1281518..fd077946b 100644 --- a/tdutils/td/utils/crypto.cpp +++ b/tdutils/td/utils/crypto.cpp @@ -1114,7 +1114,7 @@ Status create_openssl_error(int code, Slice message) { void clear_openssl_errors(Slice source) { if (ERR_peek_error() != 0) { 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; } }