summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_transcript.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-05 06:41:46 +0000
committerflorian <florian@openbsd.org>2020-02-05 06:41:46 +0000
commit371cec60b700d2671403b0b66c01e0dad3741044 (patch)
tree904286120fe34f17a2123230512134c4118d572a /lib/libssl/ssl_transcript.c
parentRework tls13_legacy_handshake_message_{recv,sent}_cb() to use (diff)
downloadwireguard-openbsd-371cec60b700d2671403b0b66c01e0dad3741044.tar.xz
wireguard-openbsd-371cec60b700d2671403b0b66c01e0dad3741044.zip
Replace atoi with strtonum for stricter and safer integer parsing.
-N ndots: 0, INT_MAX The upper limit is a bit silly, everything bigger than a small number will force domain names to be interpretet as relative. -R retries INT_MIN, INT_MAX - 1 Specifically documented to accept negative numbers. -W wait 0, INT_MAX One could interpret the documentation as meaning that it accepts negative numbers but that failes later on with an error message from the timer code.. with deraadt, OK kn, input & OK tedu
Diffstat (limited to 'lib/libssl/ssl_transcript.c')
0 files changed, 0 insertions, 0 deletions