summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_pool.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-11-13 20:29:55 +0000
committermiod <miod@openbsd.org>2014-11-13 20:29:55 +0000
commit9f85b6c4473f454ee9c3a2fde1bca446bf6fa1d4 (patch)
tree8815b7ba30e4d70bb28ca74ebf7f6f7215f2921d /sys/kern/subr_pool.c
parentSacrifice this code to the KNF deities. (diff)
downloadwireguard-openbsd-9f85b6c4473f454ee9c3a2fde1bca446bf6fa1d4.tar.xz
wireguard-openbsd-9f85b6c4473f454ee9c3a2fde1bca446bf6fa1d4.zip
Add many missing error checks (probably not exhaustive, but a good start):
- make VKO_compute_key() no longer void so that it can return failure. - fix unchecked allocations in too many routines to mention /-: - fix unchecked BN operations in gost2001_do_sign(), gost2001_do_verify(), VKO_compute_key(). - fix the gost2001_do_sign() interface violation by having its sole caller free the BIGNUM it passes to that function by itself, instead of having the callee do this. Reviewed (except for the last item) by Dmitry Eremin-Solenikov.
Diffstat (limited to 'sys/kern/subr_pool.c')
0 files changed, 0 insertions, 0 deletions