This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Weird SSLv2 problem #880
Comments
I had the same issue here : openssl 1.0.0 allows to disable easily v2 methods, which are considered not so secure. |
+1 for this patch |
It would be nice if this will be fixed at least on next release... |
29da0ae0edc14e0482403de8d3305e01e1c52c9f seems like the best approach to me. @ry, what do you think? |
nice! this can be closed too: #676 |
For newbies:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
ifndef OPENSSL_NO_SSL2
endif
And the problem went away.
The text was updated successfully, but these errors were encountered: