diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-11-13 20:29:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-11-13 20:29:56 +0000 |
commit | 0c91d12c143c2f5d42e30144bf144fd14fb1c431 (patch) | |
tree | de43c363d84b0b3184a9686eccdeecf15834447b /lib/libssl/t1_srvr.c | |
parent | cccf2634a1c24a14b95441c04ec5425c245a3ae4 (diff) |
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 'lib/libssl/t1_srvr.c')
0 files changed, 0 insertions, 0 deletions