diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2014-12-17 17:51:34 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2014-12-17 17:51:34 +0000 |
commit | 7ae255edc0e416ae56d5b55a98b41dd1a4aaed53 (patch) | |
tree | 78c4b88f9172fbc234e6b059b2e636a10f40dcf2 /lib/libz/gzio.c | |
parent | 314a304b5ff0e129f9ef0fc630d70ff0dcdddbab (diff) |
Add size_t to int checks for SSL functions.
libtls accepts size_t for lengths but libssl accepts int. This verifies
that the input does not exceed INT_MAX. It also avoids truncating size_t
when comparing with int and adds printf-style attributes for
tls_set_error().
with input from deraadt@ and tedu@
ok tedu@
Diffstat (limited to 'lib/libz/gzio.c')
0 files changed, 0 insertions, 0 deletions