diff options
author | jsing <> | 2020-05-10 14:17:48 +0000 |
---|---|---|
committer | jsing <> | 2020-05-10 14:17:48 +0000 |
commit | 4749b6f55a603d6923ae5901d112961ff3c56b38 (patch) | |
tree | b66a408927dda1a4853152273bf1767b1576d8e2 /src/lib/libssl/tls13_server.c | |
parent | 81c0dc68dcd1bad4e24db7fee4739e273ac59ca1 (diff) | |
download | openbsd-4749b6f55a603d6923ae5901d112961ff3c56b38.tar.gz openbsd-4749b6f55a603d6923ae5901d112961ff3c56b38.tar.bz2 openbsd-4749b6f55a603d6923ae5901d112961ff3c56b38.zip |
Use size_t for OCSP response length.
The OCSP response length is currently an integer, which is overloaded with
-1 meaning "unset". Use a size_t for the OCSP response length and infer
unset from the OCSP response being NULL. This makes code more readable,
simpler and less error prone.
ok beck@
Diffstat (limited to 'src/lib/libssl/tls13_server.c')
0 files changed, 0 insertions, 0 deletions