diff options
author | jsing <> | 2022-09-03 19:11:45 +0000 |
---|---|---|
committer | jsing <> | 2022-09-03 19:11:45 +0000 |
commit | a635ecd2ba59779557af0f37be073d44b86f2437 (patch) | |
tree | 964ec5d52226ea61bfeccf9e2266edfb0990dd00 /src/lib/libssl/ssl_ciph.c | |
parent | 5e6b98a5d9de6bb26247e74f5ff1b808b632f8a0 (diff) | |
download | openbsd-a635ecd2ba59779557af0f37be073d44b86f2437.tar.gz openbsd-a635ecd2ba59779557af0f37be073d44b86f2437.tar.bz2 openbsd-a635ecd2ba59779557af0f37be073d44b86f2437.zip |
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@
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
0 files changed, 0 insertions, 0 deletions