Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/crypto/crypto_context.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -285,7 +285,6 @@ Local<FunctionTemplate> 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);

Expand DownExpand Up@@ -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<true>);
Expand DownExpand Up@@ -1121,9 +1119,6 @@ void SecureContext::SetTicketKeys(const FunctionCallbackInfo<Value>& args) {
#endif // !def(OPENSSL_NO_TLSEXT) && def(SSL_CTX_get_tlsext_ticket_keys)
}

void SecureContext::SetFreeListLength(const FunctionCallbackInfo<Value>& args) {
}

// Currently, EnableTicketKeyCallback and TicketKeyCallback are only present for
// the regression test in test/parallel/test-https-resume-after-renew.js.
void SecureContext::EnableTicketKeyCallback(
Expand Down
2 changes: 0 additions & 2 deletions src/crypto/crypto_context.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -100,8 +100,6 @@ class SecureContext final : public BaseObject {
#endif// !OPENSSL_NO_ENGINE
staticvoidGetTicketKeys(const v8::FunctionCallbackInfo<v8::Value>& args);
staticvoidSetTicketKeys(const v8::FunctionCallbackInfo<v8::Value>& args);
staticvoidSetFreeListLength(
const v8::FunctionCallbackInfo<v8::Value>& args);
staticvoidEnableTicketKeyCallback(
const v8::FunctionCallbackInfo<v8::Value>& args);
staticvoidCtxGetter(const v8::FunctionCallbackInfo<v8::Value>& info);
Expand Down