Skip to content

Commit 1957bc2

Browse files
committed
update test/addons/openssl-binding
TLS_server_method() was added in OpenSSL 1.1.0. All version-specific methods were deprecated in OpenSSL 1.1.0. All version-specific methods were removed in OpenSSL 4.0.
1 parent e913f0c commit 1957bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/addons/openssl-binding/binding.cc

Lines changed: 1 addition & 1 deletion
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();

0 commit comments

Comments
 (0)