diff --git a/src/crypto/crypto_context.h b/src/crypto/crypto_context.h index 32e96f9bcb818a..b6884b716e97ae 100644 --- a/src/crypto/crypto_context.h +++ b/src/crypto/crypto_context.h @@ -44,12 +44,9 @@ class SecureContext final : public BaseObject { const SSLCtxPointer& ctx() const { return ctx_; } - // Utility method that allows for non-default initialization of + // Non-const ctx() that allows for non-default initialization of // the SecureContext. - template - inline void Initialize(Func fn) { - fn(*ctx_); - } + SSLCtxPointer& ctx() { return ctx_; } SSLPointer CreateSSL();