summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authorjsing <>2022-10-17 18:03:15 +0000
committerjsing <>2022-10-17 18:03:15 +0000
commiteb4f355a86ee7fc6d40003fe9f76b9a9a938b061 (patch)
tree44357b22e0956c559cd990097b2ffdc5d8507ae2 /src/lib/libssl/tls13_lib.c
parent4afadc9acdc3f71ccd29daea6ad1b6aaeb47af1b (diff)
downloadopenbsd-eb4f355a86ee7fc6d40003fe9f76b9a9a938b061.tar.gz
openbsd-eb4f355a86ee7fc6d40003fe9f76b9a9a938b061.tar.bz2
openbsd-eb4f355a86ee7fc6d40003fe9f76b9a9a938b061.zip
Unbreak ASN.1 indefinite length encoding.
In r1.25 of tasn_enc.c a check was added to ensure that asn1_ex_i2c() returned the same value on both calls, however in the ndef case the len variable gets changed between calls. Keep a copy of the original value to test against. Issue reported by niklas, who encountered a test failure in rust-openssl. ok miod@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_lib.c')
0 files changed, 0 insertions, 0 deletions