This repository was archived by the owner on Oct 16, 2021. It is now read-only.
Commit b048049
build: fix --without-ssl compile time error
Fix the following build error by putting #if guards around the
variables:
../src/node.cc: In function 'void node::ParseArgs(int*,
const char**, int*, const char***, int*, const char***)':
../src/node.cc:3037:7: error: 'SSL2_ENABLE' was not declared
in this scope
SSL2_ENABLE = true;
^
../src/node.cc:3039:7: error: 'SSL3_ENABLE' was not declared
in this scope
SSL3_ENABLE = true;
Fixes: nodejs#8645
PR-URL: nodejs/node#3825
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 3e359f3 commit b048049
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3034 | 3034 | | |
3035 | 3035 | | |
3036 | 3036 | | |
| 3037 | + | |
3037 | 3038 | | |
| 3039 | + | |
3038 | 3040 | | |
| 3041 | + | |
3039 | 3042 | | |
| 3043 | + | |
3040 | 3044 | | |
3041 | 3045 | | |
3042 | 3046 | | |
| |||
0 commit comments