| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3184,6 +3184,11 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. | |||
| 3184 | 3184 | <a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html">https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html</a> | |
| 3185 | 3185 | for detail.</td> | |
| 3186 | 3186 | </tr> | |
| 3187 | + <tr> | ||
| 3188 | + <td><code>SSL_OP_ALLOW_NO_DHE_KEX</code></td> | ||
| 3189 | + <td>Instructs OpenSSL to allow a non-[EC]DHE-based key exchange mode | ||
| 3190 | + for TLS v1.3</td> | ||
| 3191 | + </tr> | ||
| 3187 | 3192 | <tr> | |
| 3188 | 3193 | <td><code>SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION</code></td> | |
| 3189 | 3194 | <td>Allows legacy insecure renegotiation between OpenSSL and unpatched | |
@@ -3256,10 +3261,18 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. | |||
| 3256 | 3261 | <td><code>SSL_OP_NO_COMPRESSION</code></td> | |
| 3257 | 3262 | <td>Instructs OpenSSL to disable support for SSL/TLS compression.</td> | |
| 3258 | 3263 | </tr> | |
| 3264 | + <tr> | ||
| 3265 | + <td><code>SSL_OP_NO_ENCRYPT_THEN_MAC</code></td> | ||
| 3266 | + <td>Instructs OpenSSL to disable encrypt-then-MAC.</td> | ||
| 3267 | + </tr> | ||
| 3259 | 3268 | <tr> | |
| 3260 | 3269 | <td><code>SSL_OP_NO_QUERY_MTU</code></td> | |
| 3261 | 3270 | <td></td> | |
| 3262 | 3271 | </tr> | |
| 3272 | + <tr> | ||
| 3273 | + <td><code>SSL_OP_NO_RENEGOTIATION</code></td> | ||
| 3274 | + <td>Instructs OpenSSL to disable renegotiation.</td> | ||
| 3275 | + </tr> | ||
| 3263 | 3276 | <tr> | |
| 3264 | 3277 | <td><code>SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION</code></td> | |
| 3265 | 3278 | <td>Instructs OpenSSL to always start a new session when performing | |
@@ -3288,6 +3301,10 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. | |||
| 3288 | 3301 | <tr> | |
| 3289 | 3302 | <td><code>SSL_OP_NO_TLSv1_2</code></td> | |
| 3290 | 3303 | <td>Instructs OpenSSL to turn off TLS v1.2</td> | |
| 3304 | + </tr> | ||
| 3305 | + <tr> | ||
| 3306 | + <td><code>SSL_OP_NO_TLSv1_3</code></td> | ||
| 3307 | + <td>Instructs OpenSSL to turn off TLS v1.3</td> | ||
| 3291 | 3308 | </tr> | |
| 3292 | 3309 | <td><code>SSL_OP_PKCS1_CHECK_1</code></td> | |
| 3293 | 3310 | <td></td> | |
@@ -3296,6 +3313,14 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. | |||
| 3296 | 3313 | <td><code>SSL_OP_PKCS1_CHECK_2</code></td> | |
| 3297 | 3314 | <td></td> | |
| 3298 | 3315 | </tr> | |
| 3316 | + <tr> | ||
| 3317 | + <td><code>SSL_OP_PRIORITIZE_CHACHA</code></td> | ||
| 3318 | + <td>Instructs OpenSSL server to prioritize ChaCha20Poly1305 | ||
| 3319 | + when client does. | ||
| 3320 | + This option has no effect if | ||
| 3321 | + <code>SSL_OP_CIPHER_SERVER_PREFERENCE</code> | ||
| 3322 | + is not enabled.</td> | ||
| 3323 | + </tr> | ||
| 3299 | 3324 | <tr> | |
| 3300 | 3325 | <td><code>SSL_OP_SINGLE_DH_USE</code></td> | |
| 3301 | 3326 | <td>Instructs OpenSSL to always create a new key when using | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -806,6 +806,10 @@ void DefineCryptoConstants(Local<Object> target) { | |||
| 806 | 806 | NODE_DEFINE_CONSTANT(target, SSL_OP_ALL); | |
| 807 | 807 | #endif | |
| 808 | 808 | ||
| 809 | + #ifdef SSL_OP_ALLOW_NO_DHE_KEX | ||
| 810 | + NODE_DEFINE_CONSTANT(target, SSL_OP_ALLOW_NO_DHE_KEX); | ||
| 811 | + #endif | ||
| 812 | + | ||
| 809 | 813 | #ifdef SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION | |
| 810 | 814 | NODE_DEFINE_CONSTANT(target, SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION); | |
| 811 | 815 | #endif | |
@@ -870,10 +874,18 @@ void DefineCryptoConstants(Local<Object> target) { | |||
| 870 | 874 | NODE_DEFINE_CONSTANT(target, SSL_OP_NO_COMPRESSION); | |
| 871 | 875 | #endif | |
| 872 | 876 | ||
| 877 | + #ifdef SSL_OP_NO_ENCRYPT_THEN_MAC | ||
| 878 | + NODE_DEFINE_CONSTANT(target, SSL_OP_NO_ENCRYPT_THEN_MAC); | ||
| 879 | + #endif | ||
| 880 | + | ||
| 873 | 881 | #ifdef SSL_OP_NO_QUERY_MTU | |
| 874 | 882 | NODE_DEFINE_CONSTANT(target, SSL_OP_NO_QUERY_MTU); | |
| 875 | 883 | #endif | |
| 876 | 884 | ||
| 885 | + #ifdef SSL_OP_NO_RENEGOTIATION | ||
| 886 | + NODE_DEFINE_CONSTANT(target, SSL_OP_NO_RENEGOTIATION); | ||
| 887 | + #endif | ||
| 888 | + | ||
| 877 | 889 | #ifdef SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION | |
| 878 | 890 | NODE_DEFINE_CONSTANT(target, SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION); | |
| 879 | 891 | #endif | |
@@ -902,6 +914,10 @@ void DefineCryptoConstants(Local<Object> target) { | |||
| 902 | 914 | NODE_DEFINE_CONSTANT(target, SSL_OP_NO_TLSv1_2); | |
| 903 | 915 | #endif | |
| 904 | 916 | ||
| 917 | + #ifdef SSL_OP_NO_TLSv1_3 | ||
| 918 | + NODE_DEFINE_CONSTANT(target, SSL_OP_NO_TLSv1_3); | ||
| 919 | + #endif | ||
| 920 | + | ||
| 905 | 921 | #ifdef SSL_OP_PKCS1_CHECK_1 | |
| 906 | 922 | NODE_DEFINE_CONSTANT(target, SSL_OP_PKCS1_CHECK_1); | |
| 907 | 923 | #endif | |
@@ -910,6 +926,10 @@ void DefineCryptoConstants(Local<Object> target) { | |||
| 910 | 926 | NODE_DEFINE_CONSTANT(target, SSL_OP_PKCS1_CHECK_2); | |
| 911 | 927 | #endif | |
| 912 | 928 | ||
| 929 | + #ifdef SSL_OP_PRIORITIZE_CHACHA | ||
| 930 | + NODE_DEFINE_CONSTANT(target, SSL_OP_PRIORITIZE_CHACHA); | ||
| 931 | + #endif | ||
| 932 | + | ||
| 913 | 933 | #ifdef SSL_OP_SINGLE_DH_USE | |
| 914 | 934 | NODE_DEFINE_CONSTANT(target, SSL_OP_SINGLE_DH_USE); | |
| 915 | 935 | #endif | |
| Back | FazBrowse Home | New Git URL |
0 commit comments