good job, thanks On Mar 22, 8:53 pm, Ben Noordhuis <[email protected]> wrote: > On Thu, Mar 22, 2012 at 04:35, Dmitry Bochkarev <[email protected]> > wrote: > > but without tls support node useless. > > > 1) download opnessl sources from openssl.org > > 2) ./config shared > > 3) cd ../node-v0.6.13 > > 4) export PYTHON=python2.4;export CC="/usr/bin/gcc4";export CXX="/usr/ > > bin/g++4";./configure --openssl-includes=/usr/local/ssl/include/ -- > > openssl-libpath=/usr/local/ssl/lib/ > > 5) make > > > P.S.: if you got these errors: > > > ../src/node_crypto.cc: In static member function ‘static void > > node::crypto::Connection::SSLInfoCallback(const SSL*, int, int)’: > > ../src/node_crypto.cc:999: error: invalid conversion from ‘const SSL*’ > > to ‘SSL*’ > > ../src/node_crypto.cc:999: error: initializing argument 1 of ‘void* > > SSL_get_ex_data(SSL*, int)’ > > ../src/node_crypto.cc:1004: error: invalid conversion from ‘const > > SSL*’ to ‘SSL*’ > > ../src/node_crypto.cc:1004: error: initializing argument 1 of ‘void* > > SSL_get_ex_data(SSL*, int)’ > > > change > > line 999: Connection* c = > > static_cast<Connection*>(SSL_get_app_data(ssl)); > > to: Connection* c = > > static_cast<Connection*>(SSL_get_app_data((SSL*)ssl)); > > > line 1004: Connection* c = > > static_cast<Connection*>(SSL_get_app_data(ssl)); > > to: Connection* c = > > static_cast<Connection*>(SSL_get_app_data((SSL*)ssl)); > > Fixed inhttps://github.com/joyent/node/commit/ea44d30
-- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
