CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/11/23 18:30:01
Modified files:
lib/libcrypto/bn: bn_add.c bn_div.c bn_exp.c bn_gf2m.c bn_lcl.h
bn_lib.c bn_mont.c bn_mul.c bn_print.c
bn_shift.c bn_sqr.c bn_word.c
lib/libcrypto/ec: ec2_smpl.c ecp_nistz256.c ecp_smpl.c
Log message:
Change bn_expand()/bn_wexpand() to indicate failure/success via 0/1.
Currently bn_expand()/bn_wexpand() return a BIGNUM *, however none of the
callers use this (and many already treat it as a true/false value).
Change these functions to return 0 on failure and 1 on success, revising
callers that test against NULL in the process.
ok tb@