diff --git a/src/crypto/crypto_context.cc b/src/crypto/crypto_context.cc index 2265cfb63d0851..f8ea6f9acca206 100644 --- a/src/crypto/crypto_context.cc +++ b/src/crypto/crypto_context.cc @@ -285,7 +285,6 @@ Local SecureContext::GetConstructorTemplate( SetProtoMethod(isolate, tmpl, "close", Close); SetProtoMethod(isolate, tmpl, "loadPKCS12", LoadPKCS12); SetProtoMethod(isolate, tmpl, "setTicketKeys", SetTicketKeys); - SetProtoMethod(isolate, tmpl, "setFreeListLength", SetFreeListLength); SetProtoMethod( isolate, tmpl, "enableTicketKeyCallback", EnableTicketKeyCallback); @@ -365,7 +364,6 @@ void SecureContext::RegisterExternalReferences( registry->Register(Close); registry->Register(LoadPKCS12); registry->Register(SetTicketKeys); - registry->Register(SetFreeListLength); registry->Register(EnableTicketKeyCallback); registry->Register(GetTicketKeys); registry->Register(GetCertificate); @@ -1121,9 +1119,6 @@ void SecureContext::SetTicketKeys(const FunctionCallbackInfo& args) { #endif // !def(OPENSSL_NO_TLSEXT) && def(SSL_CTX_get_tlsext_ticket_keys) } -void SecureContext::SetFreeListLength(const FunctionCallbackInfo& args) { -} - // Currently, EnableTicketKeyCallback and TicketKeyCallback are only present for // the regression test in test/parallel/test-https-resume-after-renew.js. void SecureContext::EnableTicketKeyCallback( diff --git a/src/crypto/crypto_context.h b/src/crypto/crypto_context.h index ee2df97ac21411..4dfd0dfa032cf7 100644 --- a/src/crypto/crypto_context.h +++ b/src/crypto/crypto_context.h @@ -100,8 +100,6 @@ class SecureContext final : public BaseObject { #endif // !OPENSSL_NO_ENGINE static void GetTicketKeys(const v8::FunctionCallbackInfo& args); static void SetTicketKeys(const v8::FunctionCallbackInfo& args); - static void SetFreeListLength( - const v8::FunctionCallbackInfo& args); static void EnableTicketKeyCallback( const v8::FunctionCallbackInfo& args); static void CtxGetter(const v8::FunctionCallbackInfo& info);