diff --git a/src/node.cc b/src/node.cc index 624865b55669b3..978d3fd477a63e 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3034,9 +3034,13 @@ static void ParseArgs(int* argc, printf("%s\n", NODE_VERSION); exit(0); } else if (strcmp(arg, "--enable-ssl2") == 0) { +#if HAVE_OPENSSL SSL2_ENABLE = true; +#endif } else if (strcmp(arg, "--enable-ssl3") == 0) { +#if HAVE_OPENSSL SSL3_ENABLE = true; +#endif } else if (strcmp(arg, "--help") == 0 || strcmp(arg, "-h") == 0) { PrintHelp(); exit(0);