Commit 16ca077 1 parent 62c8948 commit 16ca077 Copy full SHA for 16ca077
File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ typedef int mode_t;
82
82
#include " node_script.h"
83
83
#include " v8_typed_array.h"
84
84
85
- #include " node_crypto.h"
86
85
#include " util.h"
87
86
88
87
using namespace v8 ;
@@ -2564,8 +2563,10 @@ static void PrintHelp() {
2564
2563
" --trace-deprecation show stack traces on deprecations\n "
2565
2564
" --v8-options print v8 command line options\n "
2566
2565
" --max-stack-size=val set max v8 stack size (bytes)\n "
2566
+ #if HAVE_OPENSSL
2567
2567
" --enable-ssl2 enable ssl2\n "
2568
2568
" --enable-ssl3 enable ssl3\n "
2569
+ #endif
2569
2570
" \n "
2570
2571
" Environment variables:\n "
2571
2572
#ifdef _WIN32
@@ -2599,12 +2600,14 @@ static void ParseArgs(int argc, char **argv) {
2599
2600
p = 1 + strchr (arg, ' =' );
2600
2601
max_stack_size = atoi (p);
2601
2602
argv[i] = const_cast <char *>(" " );
2603
+ #if HAVE_OPENSSL
2602
2604
} else if (strcmp (arg, " --enable-ssl2" ) == 0 ) {
2603
2605
SSL2_ENABLE = true ;
2604
2606
argv[i] = const_cast <char *>(" " );
2605
2607
} else if (strcmp (arg, " --enable-ssl3" ) == 0 ) {
2606
2608
SSL3_ENABLE = true ;
2607
2609
argv[i] = const_cast <char *>(" " );
2610
+ #endif
2608
2611
} else if (strcmp (arg, " --help" ) == 0 || strcmp (arg, " -h" ) == 0 ) {
2609
2612
PrintHelp ();
2610
2613
exit (0 );
You can’t perform that action at this time.
0 commit comments