diff options
| author | tb <> | 2023-07-05 17:30:14 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-05 17:30:14 +0000 |
| commit | 82dd34d70c585b4b99c4ddf5fae3480da08af357 (patch) | |
| tree | 2308241780607b1b4aad110bdd6add6ac866ef7c /src/lib/libssl/tls13_record.h | |
| parent | 89d66d14133ec6290072fa2c672a92821b4dc097 (diff) | |
| download | openbsd-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/libssl/tls13_record.h')
0 files changed, 0 insertions, 0 deletions
