summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/buffer
diff options
context:
space:
mode:
authorderaadt <>2025-10-11 15:46:06 +0000
committerderaadt <>2025-10-11 15:46:06 +0000
commitf690640165ccfa300db43b4a8e0d48a2ac660993 (patch)
tree31dd9bbfc54beb0e5f996c9e49fe0e6c118e1c6c /src/regress/lib/libssl/buffer
parent43419247d48fcba182defe04d984a4fc8ab42654 (diff)
downloadopenbsd-master.tar.gz
openbsd-master.tar.bz2
openbsd-master.zip
use strtonum() instead of atoi(), and error out for bad numbersHEADmaster
This generates a host-order number, so the ntohs() for getservbyport() was wrong, that should always have been htons(). The transform is the same, but misleading. ok tb
Diffstat (limited to 'src/regress/lib/libssl/buffer')
0 files changed, 0 insertions, 0 deletions