diff options
author | 2016-11-04 15:59:16 +0000 | |
---|---|---|
committer | 2016-11-04 15:59:16 +0000 | |
commit | dad7bfe2e40ae1373c03c57f426ec8b035bd33df (patch) | |
tree | f729a2988c82a0fd9f64bb0bee258e51e4d364fe /usr.sbin/syspatch/syspatch.sh | |
parent | Assign and test, as is consistent with the rest of the libtls code. (diff) | |
download | wireguard-openbsd-dad7bfe2e40ae1373c03c57f426ec8b035bd33df.tar.xz wireguard-openbsd-dad7bfe2e40ae1373c03c57f426ec8b035bd33df.zip |
Address some signed vs unsigned warnings and check that an integer value
is positive before passing it to several functions as a size_t.
Additionally, in tls_load_file() there is not much point using calloc(),
when we're immediately reading into the buffer (having an extra byte for
NUL termination seems pointless given the API).
ok beck@ miod@
Diffstat (limited to 'usr.sbin/syspatch/syspatch.sh')
0 files changed, 0 insertions, 0 deletions