◐ Shell
clean mode source ↗

test: update test/addons/openssl-binding for OpenSSL 4.0 · nodejs/node@afdd355

File tree

  • test/addons/openssl-binding

Original file line numberDiff line numberDiff line change

@@ -46,7 +46,7 @@ inline void Initialize(v8::Local<v8::Object> exports,

4646

.ToLocalChecked();

4747

assert(exports->Set(context, key, value).IsJust());

4848
49-

const SSL_METHOD* method = TLSv1_2_server_method();

49+

const SSL_METHOD* method = TLS_server_method();

5050

assert(method != nullptr);

5151
5252

key = v8::String::NewFromUtf8(isolate, "hash").ToLocalChecked();