diff options
author | jsing <> | 2022-11-24 01:30:01 +0000 |
---|---|---|
committer | jsing <> | 2022-11-24 01:30:01 +0000 |
commit | fb8d4760ac6775963983a2690ca829edbf8324c4 (patch) | |
tree | faea38f1c86dae9f6d4b143b2aa9f7752ecd0a34 /src/lib/libcrypto/ui/ui_util.c | |
parent | 5fe0bca4c4dce3311d4a51415b3cb0f2f8a480a4 (diff) | |
download | openbsd-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/ui/ui_util.c')
0 files changed, 0 insertions, 0 deletions