[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-cvs
Subject:    CVS: cvs.openbsd.org: src
From:       Joel Sing <jsing () cvs ! openbsd ! org>
Date:       2022-11-30 2:52:25
Message-ID: 4f7e05fca7eebda7 () cvs ! openbsd ! org
[Download RAW message or body]

CVSROOT:	/cvs
Module name:	src
Changes by:	jsing@cvs.openbsd.org	2022/11/29 19:52:25

Modified files:
	lib/libcrypto/bn: bn_lib.c 

Log message:
Fix return values bug in BN_ucmp().

BN_ucmp() is supposed to return -1/0/1 on a < b, a == b and a > b, however
it currently returns other negative and positive values when the top of
a and b differ. Correct this.

ok tb@

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic