diff --git a/lib/base/tlsutility.hpp b/lib/base/tlsutility.hpp index 746a32f66..579231864 100644 --- a/lib/base/tlsutility.hpp +++ b/lib/base/tlsutility.hpp @@ -24,11 +24,11 @@ void InitializeOpenSSL(); String GetOpenSSLVersion(); -Shared::Ptr MakeAsioSslContext(const String& pubkey = String(), const String& privkey = String(), const String& cakey = String()); -void AddCRLToSSLContext(const Shared::Ptr& context, const String& crlPath); +std::shared_ptr MakeAsioSslContext(const String& pubkey = String(), const String& privkey = String(), const String& cakey = String()); +void AddCRLToSSLContext(const std::shared_ptr& context, const String& crlPath); void AddCRLToSSLContext(X509_STORE *x509_store, const String& crlPath); -void SetCipherListToSSLContext(const Shared::Ptr& context, const String& cipherList); -void SetTlsProtocolminToSSLContext(const Shared::Ptr& context, const String& tlsProtocolmin); +void SetCipherListToSSLContext(const std::shared_ptr& context, const String& cipherList); +void SetTlsProtocolminToSSLContext(const std::shared_ptr& context, const String& tlsProtocolmin); String GetCertificateCN(const std::shared_ptr& certificate); std::shared_ptr GetX509Certificate(const String& pemfile);