| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 320ddc0 commit 3401315
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,8 +77,8 @@ function test(keylen, expectedCipher, cb) { | |||
| 77 | 77 | out += d; | |
| 78 | 78 | }); | |
| 79 | 79 | client.stdout.on('end', function() { | |
| 80 | - // DHE key length can be checked -brief option in s_client but it | ||
| 81 | - // is only supported in openssl 1.0.2 so we cannot check it. | ||
| 80 | + assert(keylen === 'error' || | ||
| 81 | + out.includes(`Server Temp Key: DH, ${keylen} bits`)); | ||
| 82 | 82 | const reg = new RegExp(`Cipher : ${expectedCipher}`); | |
| 83 | 83 | if (reg.test(out)) { | |
| 84 | 84 | nsuccess++; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments