summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authorclaudio <>2017-05-16 05:52:52 +0000
committerclaudio <>2017-05-16 05:52:52 +0000
commitcca2399941eaa626992a0ec066ba0ec955059bb4 (patch)
tree1d40e68b2d6c330fe3c05296f943a625e129eeb6 /src/usr.bin
parent04c0c551ed81eb6e86410a8eef32540aab78c494 (diff)
downloadopenbsd-cca2399941eaa626992a0ec066ba0ec955059bb4.tar.gz
openbsd-cca2399941eaa626992a0ec066ba0ec955059bb4.tar.bz2
openbsd-cca2399941eaa626992a0ec066ba0ec955059bb4.zip
Plug a memory leak. The main_cert needs to be X509_free()ed since
SSL_get_peer_certificate() increases the ref count whereas extra_certs do not because SSL_get_peer_cert_chain() won't increase ref counts. OK beck@
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions