summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_util.c
diff options
context:
space:
mode:
authortb <>2019-04-13 18:04:05 +0000
committertb <>2019-04-13 18:04:05 +0000
commitd780f0b3af2df25277b17867d909cd85c0476369 (patch)
treed8f2d01f1dd24a36cfcc1a7d87d74cd8dba8d2b4 /src/lib/libtls/tls_util.c
parent8ab9e3c33c0dd587e42c1c871bbe154fd19af00f (diff)
downloadopenbsd-d780f0b3af2df25277b17867d909cd85c0476369.tar.gz
openbsd-d780f0b3af2df25277b17867d909cd85c0476369.tar.bz2
openbsd-d780f0b3af2df25277b17867d909cd85c0476369.zip
Avoid leak in SSL_dup_CA_list()
In the case that X509_NAME_dup() succeeds, but sk_X509_NAME_push() fails, name is leaked. The entire function is trying to be clever and therefore hard to follow. Let's do it the stupid but safe way. ok jsing
Diffstat (limited to 'src/lib/libtls/tls_util.c')
0 files changed, 0 insertions, 0 deletions