From 64778c56e6ebfb80430d0f42e6d0ce7d78afd265 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 19 Dec 2022 16:15:01 -0800 Subject: [PATCH] fixup! fixup! src: add additional utilities to crypto::SecureContext --- src/crypto/crypto_context.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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();