crypto: remove NodeBIO::GetMethod()
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 29 Aug 2013 12:19:27 +0000 (14:19 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 29 Aug 2013 12:25:57 +0000 (14:25 +0200)
commit653f62a709cdc50f18c3924b8db824d98ebcbffb
tree41a63748fbe3e3a9f03f3e57f531bc8ab96829e1
parent8e596c4e15f64b53d66e91079ed733821fb3e88d
crypto: remove NodeBIO::GetMethod()

Remove NodeBIO::GetMethod() and replace calls to BIO_new() with calls
to the new NodeBIO::New() function.

This commit basically reshuffles some code in order to make it explicit
that the NodeBIO BIO_METHOD is const.
src/node_crypto.cc
src/node_crypto_bio.cc
src/node_crypto_bio.h
src/tls_wrap.cc