summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-setres_id.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-09-26 21:16:11 +0000
committerDamien Miller <djm@mindrot.org>2016-09-29 03:09:50 +1000
commit27c3a9c2aede2184856b5de1e6eca414bb751c38 (patch)
tree34a9759716c46966590012352871034d038904fd /openbsd-compat/bsd-setres_id.c
parent8663e51c80c6aa3d750c6d3bcff6ee05091922be (diff)
upstream commit
Avoid a theoretical signed integer overflow should BN_num_bytes() ever violate its manpage and return a negative value. Improve order of tests to avoid confusing increasingly pedantic compilers. Reported by Guido Vranken from stack (css.csail.mit.edu/stack) unstable optimisation analyser output. ok deraadt@ Upstream-ID: f8508c830c86d8f36c113985e52bf8eedae23505
Diffstat (limited to 'openbsd-compat/bsd-setres_id.c')
0 files changed, 0 insertions, 0 deletions