Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9b8cc1

Browse filesBrowse files
panvaaduh95
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 <panva.ip@gmail.com> PR-URL: #62805 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent de46e68 commit d9b8cc1
Copy full SHA for d9b8cc1

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/addons/openssl-binding/binding.cc‎

Copy file name to clipboardExpand all lines: test/addons/openssl-binding/binding.cc
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.