crypto: fix excessive buffer allocation
authorFedor Indutny <fedor.indutny@gmail.com>
Tue, 11 Jun 2013 10:49:03 +0000 (12:49 +0200)
committerFedor Indutny <fedor.indutny@gmail.com>
Fri, 14 Jun 2013 15:10:04 +0000 (17:10 +0200)
commit56d9c48573e4bfe98021fc0c678e20b90538c976
tree3c95c2dcdf000aa525e4aba294b247c7a106162d
parente92f4879eb6c21d66ceaa819ae8f045226b74a3e
crypto: fix excessive buffer allocation

Allocate buffer only if the next one isn't free.
src/node_crypto_bio.cc
src/node_crypto_bio.h