CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2022/09/03 13:11:45
Modified files: lib/libcrypto/asn1: tasn_dec.c Log message: Avoid recycling ASN1_STRINGs when decoding ASN.1. Rather than recycling an existing ASN1_STRING and changing its type, free it and allocate a replacement. This simplifies the code and potentially avoids bugs resulting from reuse. ok tb@