diff options
| author | levlam <levlam@telegram.org> | 2022-08-01 19:34:37 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-08-01 19:34:37 +0300 |
| commit | 64c718c0a1b02a28a6f628d98cd5fbde1d17c3fa (patch) | |
| tree | 2ae3ed9af99b249a97506d0206b650338331e3bf /tdutils/td/utils/crypto.cpp | |
| parent | bca2a9c78ee7581eeec2ea1b77afe707f3402add (diff) | |
Fix suppression of an expected error.
Diffstat (limited to 'tdutils/td/utils/crypto.cpp')
| -rw-r--r-- | tdutils/td/utils/crypto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |
