aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/certstor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cert/x509/certstor.cpp')
-rw-r--r--src/lib/cert/x509/certstor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/x509/certstor.cpp b/src/lib/cert/x509/certstor.cpp
index e3498f602..26c9ce117 100644
--- a/src/lib/cert/x509/certstor.cpp
+++ b/src/lib/cert/x509/certstor.cpp
@@ -115,7 +115,7 @@ Certificate_Store_In_Memory::Certificate_Store_In_Memory(const X509_Certificate&
Certificate_Store_In_Memory::Certificate_Store_In_Memory(const std::string& dir)
{
- if(dir == "")
+ if(dir.empty())
return;
std::vector<std::string> maybe_certs = get_files_recursive(dir);