diff options
author | 2020-02-05 06:41:46 +0000 | |
---|---|---|
committer | 2020-02-05 06:41:46 +0000 | |
commit | 371cec60b700d2671403b0b66c01e0dad3741044 (patch) | |
tree | 904286120fe34f17a2123230512134c4118d572a /lib/libssl/ssl_transcript.c | |
parent | Rework tls13_legacy_handshake_message_{recv,sent}_cb() to use (diff) | |
download | wireguard-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