summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_algor.c
diff options
context:
space:
mode:
authortb <>2023-07-05 17:30:14 +0000
committertb <>2023-07-05 17:30:14 +0000
commit82dd34d70c585b4b99c4ddf5fae3480da08af357 (patch)
tree2308241780607b1b4aad110bdd6add6ac866ef7c /src/lib/libcrypto/asn1/x_algor.c
parent89d66d14133ec6290072fa2c672a92821b4dc097 (diff)
downloadopenbsd-82dd34d70c585b4b99c4ddf5fae3480da08af357.tar.gz
openbsd-82dd34d70c585b4b99c4ddf5fae3480da08af357.tar.bz2
openbsd-82dd34d70c585b4b99c4ddf5fae3480da08af357.zip
Avoid undefined behavior in tlsexttest
An empty array cannot be initialized and it is an incomplete type, so the sizeof() operator can't be applied to it. Therefore initialize it with a zero byte and replace sizeof() use with lengths. Slightly tweaked version of a patch by inoguchi in portable. Discussed with bcook, beck, kettenis
Diffstat (limited to 'src/lib/libcrypto/asn1/x_algor.c')
0 files changed, 0 insertions, 0 deletions