mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
test: add tests for missing https agent options
Add test that minVersion and maxVersion options are accepted. This should complete coverage for lib/https.js. Refs: https://codecov.io/gh/nodejs/node/src/ec0dcd720e10831b3e783b415c5dc011ed5be2f8/lib/https.js PR-URL: https://github.com/nodejs/node/pull/38202 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
4ad8e83a3d
commit
18c9913ce1
1 file changed
+2
@@ -36,6 +36,8 @@ const updatedValues = new Map([
|
||||
['dhparam', fixtures.readKey('dh2048.pem')],
|
||||
['ecdhCurve', 'secp384r1'],
|
||||
['honorCipherOrder', true],
|
||||
['minVersion', 'TLSv1.1'],
|
||||
['maxVersion', 'TLSv1.3'],
|
||||
['secureOptions', crypto.constants.SSL_OP_CIPHER_SERVER_PREFERENCE],
|
||||
['secureProtocol', 'TLSv1_1_method'],
|
||||
['sessionIdContext', 'sessionIdContext'],
|
||||
|
||||
Reference in new issue
Block a user