summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_ossl.c
diff options
context:
space:
mode:
authorjsing <>2022-11-24 01:30:01 +0000
committerjsing <>2022-11-24 01:30:01 +0000
commitfb8d4760ac6775963983a2690ca829edbf8324c4 (patch)
treefaea38f1c86dae9f6d4b143b2aa9f7752ecd0a34 /src/lib/libcrypto/dsa/dsa_ossl.c
parent5fe0bca4c4dce3311d4a51415b3cb0f2f8a480a4 (diff)
downloadopenbsd-fb8d4760ac6775963983a2690ca829edbf8324c4.tar.gz
openbsd-fb8d4760ac6775963983a2690ca829edbf8324c4.tar.bz2
openbsd-fb8d4760ac6775963983a2690ca829edbf8324c4.zip
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@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ossl.c')
0 files changed, 0 insertions, 0 deletions