File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -2904,6 +2904,9 @@ class Verify : public ObjectWrap {
2904
2904
};
2905
2905
2906
2906
2907
+
2908
+
2909
+
2907
2910
void InitCrypto (Handle <Object> target) {
2908
2911
HandleScope scope;
2909
2912
@@ -2913,18 +2916,6 @@ void InitCrypto(Handle<Object> target) {
2913
2916
SSL_load_error_strings ();
2914
2917
ERR_load_crypto_strings ();
2915
2918
2916
- // Turn off compression. Saves memory - do it in userland.
2917
- STACK_OF (SSL_COMP)* comp_methods = SSL_COMP_get_compression_methods ();
2918
- #if 0
2919
- if (comp_methods && sk_SSL_COMP_num(comp_methods) > 0) {
2920
- default_compression_method = sk_SSL_COMP_pop(comp_methods);
2921
- fprintf(stderr, "SSL_COMP_get_name %s\n",
2922
- SSL_COMP_get_name(default_compression_method->method));
2923
- }
2924
- #endif
2925
- sk_SSL_COMP_zero (comp_methods);
2926
- assert (sk_SSL_COMP_num (comp_methods) == 0 );
2927
-
2928
2919
SecureContext::Initialize (target);
2929
2920
Connection::Initialize (target);
2930
2921
Cipher::Initialize (target);
You can’t perform that action at this time.
0 commit comments