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 268f1ec

Browse filesBrowse files
mhdawsontargos
authored andcommitted
test: update tls test to support OpenSSL32
Refs: #53382 OpenSSL32 does not support AES128 and DH 1024 to update test to use newer algorithms. Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: #55030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 1c00155 commit 268f1ec
Copy full SHA for 268f1ec

File tree

Expand file treeCollapse file tree

1 file changed

+12
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-8
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-tls-client-getephemeralkeyinfo.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-client-getephemeralkeyinfo.js
+12-8Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,15 @@ function test(size, type, name, cipher) {
6767
}));
6868
}
6969

70-
test(undefined, undefined, undefined, 'AES128-SHA256');
71-
test('auto', 'DH', undefined, 'DHE-RSA-AES128-GCM-SHA256');
72-
test(1024, 'DH', undefined, 'DHE-RSA-AES128-GCM-SHA256');
73-
test(2048, 'DH', undefined, 'DHE-RSA-AES128-GCM-SHA256');
74-
test(256, 'ECDH', 'prime256v1', 'ECDHE-RSA-AES128-GCM-SHA256');
75-
test(521, 'ECDH', 'secp521r1', 'ECDHE-RSA-AES128-GCM-SHA256');
76-
test(253, 'ECDH', 'X25519', 'ECDHE-RSA-AES128-GCM-SHA256');
77-
test(448, 'ECDH', 'X448', 'ECDHE-RSA-AES128-GCM-SHA256');
70+
test(undefined, undefined, undefined, 'AES256-SHA256');
71+
test('auto', 'DH', undefined, 'DHE-RSA-AES256-GCM-SHA384');
72+
if (!common.hasOpenSSL(3, 2)) {
73+
test(1024, 'DH', undefined, 'DHE-RSA-AES256-GCM-SHA384');
74+
} else {
75+
test(3072, 'DH', undefined, 'DHE-RSA-AES256-GCM-SHA384');
76+
}
77+
test(2048, 'DH', undefined, 'DHE-RSA-AES256-GCM-SHA384');
78+
test(256, 'ECDH', 'prime256v1', 'ECDHE-RSA-AES256-GCM-SHA384');
79+
test(521, 'ECDH', 'secp521r1', 'ECDHE-RSA-AES256-GCM-SHA384');
80+
test(253, 'ECDH', 'X25519', 'ECDHE-RSA-AES256-GCM-SHA384');
81+
test(448, 'ECDH', 'X448', 'ECDHE-RSA-AES256-GCM-SHA384');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.