We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597cb06 commit 64778c5Copy full SHA for 64778c5
src/crypto/crypto_context.h
@@ -44,12 +44,9 @@ class SecureContext final : public BaseObject {
44
45
const SSLCtxPointer& ctx() const { return ctx_; }
46
47
- // Utility method that allows for non-default initialization of
+ // Non-const ctx() that allows for non-default initialization of
48
// the SecureContext.
49
- template <typename Func = void(SSLCtxPointer&)>
50
- inline void Initialize(Func fn) {
51
- fn(*ctx_);
52
- }
+ SSLCtxPointer& ctx() { return ctx_; }
53
54
SSLPointer CreateSSL();
55
0 commit comments