diff options
Diffstat (limited to 'tdnet/td/net/SslCtx.cpp')
| -rw-r--r-- | tdnet/td/net/SslCtx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdnet/td/net/SslCtx.cpp b/tdnet/td/net/SslCtx.cpp index 128b888fa..a7737ac02 100644 --- a/tdnet/td/net/SslCtx.cpp +++ b/tdnet/td/net/SslCtx.cpp @@ -121,7 +121,7 @@ X509_STORE *load_system_certificate_store() { string default_cert_dir = X509_get_default_cert_dir(); for (auto cert_dir : full_split(default_cert_dir, ':')) { walk_path(cert_dir, [&](CSlice path, WalkPath::Type type) { - if (type != WalkPath::Type::NotDir) { + if (type != WalkPath::Type::RegularFile) { return type == WalkPath::Type::EnterDir && path != cert_dir ? WalkPath::Action::SkipDir : WalkPath::Action::Continue; } |
