summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjsing <>2015-07-22 15:52:32 +0000
committerjsing <>2015-07-22 15:52:32 +0000
commitf172031c7c6d9ab690706ae078322d7db8f6f19e (patch)
treeb2a3cba74402e45353dfeca379e519bb54246b5d /src/lib/libc
parent34a3a09672251efabb40f9c8a9c07e616379b8c6 (diff)
downloadopenbsd-f172031c7c6d9ab690706ae078322d7db8f6f19e.tar.gz
openbsd-f172031c7c6d9ab690706ae078322d7db8f6f19e.tar.bz2
openbsd-f172031c7c6d9ab690706ae078322d7db8f6f19e.zip
Revert ca.c r1.7 - BN_to_ASN1_INTEGER() only allocates an ASN.1 integer
when it is not passed a reference to one. In this case, it is passed a reference to an ASN.1 integer that is part of the X509 ASN.1 data structure. Freeing this causes bad things to happen, since it is used and then freed later on. Found the hard way by kinichiro inoguchi.
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions