summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/comp/comp_err.c
diff options
context:
space:
mode:
authorjsing <>2022-12-23 03:15:35 +0000
committerjsing <>2022-12-23 03:15:35 +0000
commitdb8a9d746fb011d9ac658dfaf3f1a3ff37ee8848 (patch)
tree10949b74c3014c60c478fedad7cc924359851c6b /src/lib/libcrypto/comp/comp_err.c
parent1101e96e6f22cacf21188ce1c4b32487463d8dd2 (diff)
downloadopenbsd-db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848.tar.gz
openbsd-db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848.tar.bz2
openbsd-db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848.zip
Simplify BN_cmp() and BN_ucmp().
The only real difference between BN_cmp() and BN_ucmp() is that one has to respect the sign of the BN (although BN_cmp() also gets to deal with some insanity from accepting NULLs). Rewrite/cleanup BN_ucmp() and turn BN_cmp() into code that handles differences in sign, before calling BN_ucmp(). ok tb@
Diffstat (limited to 'src/lib/libcrypto/comp/comp_err.c')
0 files changed, 0 insertions, 0 deletions