crypto: fix X509 cert memory leak in GetPeerCert
`SSL_get_peer_certificate` returns referenced X509 object, we should decrement the reference count once it is not needed. Fix joyent/node#8674 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/node-forward/node/pull/56
parent
be413ac7
Please register or sign in to comment