@@ -1375,13 +1375,11 @@ void SSLWrap<Base>::AddMethods(Environment* env, Local<FunctionTemplate> t) { |
1375 | 1375 | env->SetProtoMethod(t, "setSession", SetSession); |
1376 | 1376 | env->SetProtoMethod(t, "loadSession", LoadSession); |
1377 | 1377 | env->SetProtoMethodNoSideEffect(t, "isSessionReused", IsSessionReused); |
1378 | | - env->SetProtoMethodNoSideEffect(t, "isInitFinished", IsInitFinished); |
1379 | 1378 | env->SetProtoMethodNoSideEffect(t, "verifyError", VerifyError); |
1380 | 1379 | env->SetProtoMethodNoSideEffect(t, "getCurrentCipher", GetCurrentCipher); |
1381 | 1380 | env->SetProtoMethod(t, "endParser", EndParser); |
1382 | 1381 | env->SetProtoMethod(t, "certCbDone", CertCbDone); |
1383 | 1382 | env->SetProtoMethod(t, "renegotiate", Renegotiate); |
1384 | | - env->SetProtoMethod(t, "shutdownSSL", Shutdown); |
1385 | 1383 | env->SetProtoMethodNoSideEffect(t, "getTLSTicket", GetTLSTicket); |
1386 | 1384 | env->SetProtoMethod(t, "newSessionDone", NewSessionDone); |
1387 | 1385 | env->SetProtoMethod(t, "setOCSPResponse", SetOCSPResponse); |
@@ -1987,16 +1985,6 @@ void SSLWrap<Base>::Renegotiate(const FunctionCallbackInfo<Value>& args) { |
1987 | 1985 | } |
1988 | 1986 |
|
1989 | 1987 |
|
1990 | | -template <class Base> |
1991 | | -void SSLWrap<Base>::Shutdown(const FunctionCallbackInfo<Value>& args) { |
1992 | | - Base* w; |
1993 | | - ASSIGN_OR_RETURN_UNWRAP(&w, args.Holder()); |
1994 | | - |
1995 | | - int rv = SSL_shutdown(w->ssl_.get()); |
1996 | | - args.GetReturnValue().Set(rv); |
1997 | | -} |
1998 | | - |
1999 | | - |
2000 | 1988 | template <class Base> |
2001 | 1989 | void SSLWrap<Base>::GetTLSTicket(const FunctionCallbackInfo<Value>& args) { |
2002 | 1990 | Base* w; |
@@ -2130,15 +2118,6 @@ void SSLWrap<Base>::SetMaxSendFragment( |
2130 | 2118 | #endif // SSL_set_max_send_fragment |
2131 | 2119 |
|
2132 | 2120 |
|
2133 | | -template <class Base> |
2134 | | -void SSLWrap<Base>::IsInitFinished(const FunctionCallbackInfo<Value>& args) { |
2135 | | - Base* w; |
2136 | | - ASSIGN_OR_RETURN_UNWRAP(&w, args.Holder()); |
2137 | | - bool yes = SSL_is_init_finished(w->ssl_.get()); |
2138 | | - args.GetReturnValue().Set(yes); |
2139 | | -} |
2140 | | - |
2141 | | - |
2142 | 2121 | template <class Base> |
2143 | 2122 | void SSLWrap<Base>::VerifyError(const FunctionCallbackInfo<Value>& args) { |
2144 | 2123 | Base* w; |
|