| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9640661 commit 6c2a138
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -67,11 +67,15 @@ function test(size, type, name, cipher) { | |||
| 67 | 67 | })); | |
| 68 | 68 | } | |
| 69 | 69 | ||
| 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'); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments