diff options
author | jsing <> | 2016-11-04 15:59:16 +0000 |
---|---|---|
committer | jsing <> | 2016-11-04 15:59:16 +0000 |
commit | 78e68d71838891e44ddbb5238203ccfce3b62d80 (patch) | |
tree | b2b307858fd1a6d1e8ed6bf4bcd0849f380366d0 /src/lib/libcrypto/ec/ec_curve.c | |
parent | fa8d5de1e86966537a9cf4a380d4f9cc64f56935 (diff) | |
download | openbsd-78e68d71838891e44ddbb5238203ccfce3b62d80.tar.gz openbsd-78e68d71838891e44ddbb5238203ccfce3b62d80.tar.bz2 openbsd-78e68d71838891e44ddbb5238203ccfce3b62d80.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 'src/lib/libcrypto/ec/ec_curve.c')
0 files changed, 0 insertions, 0 deletions