summaryrefslogtreecommitdiff
path: root/src/network/credentials_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/credentials_manager.hpp')
-rw-r--r--src/network/credentials_manager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/credentials_manager.hpp b/src/network/credentials_manager.hpp
index c463ad4..e7c247d 100644
--- a/src/network/credentials_manager.hpp
+++ b/src/network/credentials_manager.hpp
@@ -19,7 +19,7 @@ class TCPSocketHandler;
*/
void check_tls_certificate(const std::vector<Botan::X509_Certificate>& certs,
const std::string& hostname, const std::string& trusted_fingerprint,
- std::exception_ptr exc);
+ const std::exception_ptr& exc);
class BasicCredentialsManager: public Botan::Credentials_Manager
{