diff options
Diffstat (limited to 'src/cmd/credentials.h')
-rw-r--r-- | src/cmd/credentials.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/credentials.h b/src/cmd/credentials.h index 6c150f881..6f7d00155 100644 --- a/src/cmd/credentials.h +++ b/src/cmd/credentials.h @@ -28,7 +28,11 @@ class Credentials_Manager_Simple : public Botan::Credentials_Manager Credentials_Manager_Simple(Botan::RandomNumberGenerator& rng) : rng(rng) { - m_certstores.push_back(new Botan::Certificate_Store_In_Memory("/usr/share/ca-certificates")); + try + { + m_certstores.push_back(new Botan::Certificate_Store_In_Memory("/usr/share/ca-certificates")); + } + catch(...) {} } std::string srp_identifier(const std::string& type, |