summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpctl
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2017-05-16 05:52:53 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2017-05-16 05:52:53 +0000
commitfb4fdfa42e8a5c501dd5af116a40f991d3634abc (patch)
treeef5dc10a03bf67ce896cda7186aee4c17faded9e /usr.sbin/snmpctl
parent3144c7256071397616e31d9c91591368165f16f5 (diff)
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 'usr.sbin/snmpctl')
0 files changed, 0 insertions, 0 deletions