diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index 40e2d1767..6de5df544 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -70,7 +70,7 @@ void InitializeOpenSSL() l_SSLInitialized = true; } -static void SetupSslContext(const Shared::Ptr& context, const String& pubkey, const String& privkey, const String& cakey) +static void InitSslContext(const Shared::Ptr& context, const String& pubkey, const String& privkey, const String& cakey) { char errbuf[256]; @@ -181,7 +181,7 @@ Shared::Ptr MakeAsioSslContext(const String& pubkey, auto context (Shared::Make(ssl::context::tls)); - SetupSslContext(context, pubkey, privkey, cakey); + InitSslContext(context, pubkey, privkey, cakey); return context; }