crypto: never store pointer to conn in SSL_CTX
authorFedor Indutny <fedor@indutny.com>
Wed, 17 Sep 2014 22:21:32 +0000 (02:21 +0400)
committerFedor Indutny <fedor@indutny.com>
Wed, 17 Sep 2014 22:31:47 +0000 (02:31 +0400)
commitcb4ed3c78fd6c795c29ff67df19d358a90c777cc
treefdf382d6cd2cca139d189f68f9485d6d2f7ac2a0
parentc6155454163a439bf9c74a876f9ac201673b20fc
crypto: never store pointer to conn in SSL_CTX

SSL_CTX is shared between multiple connections and is not a right place
to store per-connection data.

fix #8348

Reviewed-By: Trevor Norris
src/node_crypto.cc
src/node_crypto.h
src/tls_wrap.cc