Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis
Created October 6, 2012 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bnoordhuis/fead5033fe2eed452252 to your computer and use it in GitHub Desktop.
Save bnoordhuis/fead5033fe2eed452252 to your computer and use it in GitHub Desktop.
diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index da4cfb6..ecad054 100644
--- a/src/node_crypto.cc
+++ b/src/node_crypto.cc
@@ -207,6 +207,7 @@ Handle<Value> SecureContext::Init(const Arguments& args) {
}
sc->ctx_ = SSL_CTX_new(method);
+ SSL_CTX_set_options(sc->ctx_, SSL_OP_ALL);
// SSL session cache configuration
SSL_CTX_set_session_cache_mode(sc->ctx_,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment