crypto: work around OpenSSL oddness
authorFedor Indutny <fedor@indutny.com>
Thu, 17 Apr 2014 23:53:15 +0000 (03:53 +0400)
committerFedor Indutny <fedor@indutny.com>
Tue, 22 Apr 2014 12:19:57 +0000 (16:19 +0400)
commit0f3b72460b9987192d498700bbb02143a632f721
treea3bf8bc8b59c2a609e7d140c108d67257765c2ec
parentafaff70a9b782c728b06a018d8473567c073df60
crypto: work around OpenSSL oddness

OpenSSL behaves oddly: on client `cert_chain` contains
the `peer_certificate`, but on server it doesn't.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
src/node_crypto.cc