summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt/cryptutil.c
diff options
context:
space:
mode:
authorjsing <>2015-07-22 15:52:32 +0000
committerjsing <>2015-07-22 15:52:32 +0000
commit5b19a92414247f404fe068ef6515cf739568e936 (patch)
treeb2a3cba74402e45353dfeca379e519bb54246b5d /src/lib/libc/crypt/cryptutil.c
parent4a72fd69ee11a3832b624f3ae34ffa4bf16ceaac (diff)
downloadopenbsd-5b19a92414247f404fe068ef6515cf739568e936.tar.gz
openbsd-5b19a92414247f404fe068ef6515cf739568e936.tar.bz2
openbsd-5b19a92414247f404fe068ef6515cf739568e936.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/crypt/cryptutil.c')
0 files changed, 0 insertions, 0 deletions