Skip to content

Commit e729c5f

Browse files
panvanodejs-github-bot
authored andcommitted
test: update test/addons/openssl-binding for OpenSSL 4.0
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. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #62805 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 952c9e8 commit e729c5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)