You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
I'm on ubuntu 10.04 with libssl-dev and libcrypto installed, compiling node from head I kept getting
../src/node_crypto.cc: In static member function ‘static v8::Handlev8::Value node::crypto::SecureContext::Init(const v8::Arguments&)’:
../src/node_crypto.cc:102: error: ‘SSLv2_method’ was not declared in this scope
../src/node_crypto.cc:104: error: ‘SSLv2_server_method’ was not declared in this scope
../src/node_crypto.cc:106: error: ‘SSLv2_client_method’ was not declared in this scope
Looking in ssl.h I see they have a conditional
ifndef OPENSSL_NO_SSL2
I wrapped the parts in node_crypto.cc to look like this