diff options
author | jsing <> | 2023-02-14 18:22:35 +0000 |
---|---|---|
committer | jsing <> | 2023-02-14 18:22:35 +0000 |
commit | c6e3089538d69e8e70c037404ec0d7cb5bcece4d (patch) | |
tree | 9920ce0f43d626c04695693d0578cf7c14df80c9 /src/lib/libcrypto/ui/ui_null.c | |
parent | 9ce34d33ab5e28ffa5d1cd29ccc09a8651396e96 (diff) | |
download | openbsd-c6e3089538d69e8e70c037404ec0d7cb5bcece4d.tar.gz openbsd-c6e3089538d69e8e70c037404ec0d7cb5bcece4d.tar.bz2 openbsd-c6e3089538d69e8e70c037404ec0d7cb5bcece4d.zip |
Make BN_is_zero() check word values.
Rather than completely relying on top, check the words of a bignum.
This gets us one step away from being dependent on top and additionally
means that we correctly report zero even if top is not yet correct.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/ui/ui_null.c')
0 files changed, 0 insertions, 0 deletions