CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2015/07/22 09:52:32
Modified files: usr.bin/openssl: ca.c Log message: 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.