summaryrefslogtreecommitdiff
path: root/lib/libz/trees.c
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2014-12-17 17:51:34 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2014-12-17 17:51:34 +0000
commit7ae255edc0e416ae56d5b55a98b41dd1a4aaed53 (patch)
tree78c4b88f9172fbc234e6b059b2e636a10f40dcf2 /lib/libz/trees.c
parent314a304b5ff0e129f9ef0fc630d70ff0dcdddbab (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/trees.c')
0 files changed, 0 insertions, 0 deletions