summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_null.c
diff options
context:
space:
mode:
authorjsing <>2023-02-14 18:22:35 +0000
committerjsing <>2023-02-14 18:22:35 +0000
commitc6e3089538d69e8e70c037404ec0d7cb5bcece4d (patch)
tree9920ce0f43d626c04695693d0578cf7c14df80c9 /src/lib/libcrypto/ui/ui_null.c
parent9ce34d33ab5e28ffa5d1cd29ccc09a8651396e96 (diff)
downloadopenbsd-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