summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-13 20:10:13 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-13 20:10:13 +0000
commit2dcb748989a77eda5919f6460bbcee0365c5538d (patch)
tree287dc35292ac2a824f536a0c130424ea6018fa0e /lib/libssl
parent5de60ac521905d61b6fc62afc6ed7be616694051 (diff)
Make sure that the following functions return 0 and EINVAL as
required by the C standard when called with an invalid base: strtoll(), strtoimax(), strtoul(), strtoull(), and strtoumax(). Same behaviour for strtoq() and strtouq() even though not standardized. No functional change in strtol(), it was the only one already correct. While here, simplify the conditional expression for checking the base and sync whitespace and comments among the six files. ok millert@
Diffstat (limited to 'lib/libssl')
0 files changed, 0 insertions, 0 deletions