summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorjsing <>2022-09-03 19:11:45 +0000
committerjsing <>2022-09-03 19:11:45 +0000
commita635ecd2ba59779557af0f37be073d44b86f2437 (patch)
tree964ec5d52226ea61bfeccf9e2266edfb0990dd00 /src/lib/libssl/ssl_ciph.c
parent5e6b98a5d9de6bb26247e74f5ff1b808b632f8a0 (diff)
downloadopenbsd-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