OpenSSL NPN in node.js

closes #926.
This commit is contained in:
Fedor Indutny authored and Ryan Dahl committed 2011-04-19 11:32:26 -07:00
1 parent 9e6498d5fa
commit c9b40da368
6 files changed
+324 -4

No files matched your search

+5
View File
@@ -912,6 +912,11 @@ void DefineConstants(Handle<Object> target) {
#ifdef SSL_OP_CRYPTOPRO_TLSEXT_BUG
NODE_DEFINE_CONSTANT(target, SSL_OP_CRYPTOPRO_TLSEXT_BUG);
#endif
#ifdef OPENSSL_NPN_NEGOTIATED
#define NPN_ENABLED 1
NODE_DEFINE_CONSTANT(target, NPN_ENABLED);
#endif
}
} // namespace node