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 a9d0b8d

Browse filesBrowse files
lpincaMoLow
authored andcommitted
test: use lower security level in s_client
With the default security level (SECLEVEL=2), the following error ``` 40E72B52DB7F0000:error:0A00018A:SSL routines:tls_process_ske_dhe:dh key too small:../deps/openssl/openssl/ssl/statem/statem_clnt.c:2100 ``` is raised on on Ubuntu 22.04 on WSL2. PR-URL: #48192 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7250d8c commit a9d0b8d
Copy full SHA for a9d0b8d

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-tls-dhe.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-dhe.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function test(dhparam, keylen, expectedCipher) {
6565

6666
server.listen(0, '127.0.0.1', common.mustCall(() => {
6767
const args = ['s_client', '-connect', `127.0.0.1:${server.address().port}`,
68-
'-cipher', ciphers];
68+
'-cipher', `${ciphers}:@SECLEVEL=1`];
6969

7070
execFile(common.opensslCli, args, common.mustSucceed((stdout) => {
7171
assert(keylen === null ||

0 commit comments

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