summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/ecdsa/ecdsatest.c
diff options
context:
space:
mode:
authortb <>2022-08-31 07:15:31 +0000
committertb <>2022-08-31 07:15:31 +0000
commit1af840db6160c4511f1e225122056a69d23d80cd (patch)
tree88f5b5602ade55484690aaa6189a95822613e5a9 /src/regress/lib/libcrypto/ecdsa/ecdsatest.c
parent77eac0ad9b595b925f07dc5b13a0538ec6557aba (diff)
downloadopenbsd-1af840db6160c4511f1e225122056a69d23d80cd.tar.gz
openbsd-1af840db6160c4511f1e225122056a69d23d80cd.tar.bz2
openbsd-1af840db6160c4511f1e225122056a69d23d80cd.zip
Switch loop bounds from size_t to int in check_hosts()
sk_num() can return a negative value, in which case the upper bound is SIZE_MAX, which results in a very long for loop. CID 153997 ok jsing
Diffstat (limited to 'src/regress/lib/libcrypto/ecdsa/ecdsatest.c')
0 files changed, 0 insertions, 0 deletions