Skip to content

Commit

Permalink
fixup! fixup! src: add GetCurrentCipherName/Version to crypto_common
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Dec 20, 2022
1 parent 597cb06 commit 37ec12f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/crypto/crypto_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typename Func = void(SSLCtxPointer&)>
inline void Initialize(Func fn) {
fn(*ctx_);
}
SSLCtxPointer& ctx() { return ctx_; }

SSLPointer CreateSSL();

Expand Down

0 comments on commit 37ec12f

Please sign in to comment.