Rename SetupSslContext() to InitSslContext()

This commit is contained in:
Alexander A. Klimov 2021-07-20 12:31:22 +02:00
parent 2b04e0a754
commit 2728603c29
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ void InitializeOpenSSL()
l_SSLInitialized = true; l_SSLInitialized = true;
} }
static void SetupSslContext(const Shared<boost::asio::ssl::context>::Ptr& context, const String& pubkey, const String& privkey, const String& cakey) static void InitSslContext(const Shared<boost::asio::ssl::context>::Ptr& context, const String& pubkey, const String& privkey, const String& cakey)
{ {
char errbuf[256]; char errbuf[256];
@ -181,7 +181,7 @@ Shared<boost::asio::ssl::context>::Ptr MakeAsioSslContext(const String& pubkey,
auto context (Shared<ssl::context>::Make(ssl::context::tls)); auto context (Shared<ssl::context>::Make(ssl::context::tls));
SetupSslContext(context, pubkey, privkey, cakey); InitSslContext(context, pubkey, privkey, cakey);
return context; return context;
} }