Commit 24bec03b authored by Bodo Möller's avatar Bodo Möller
Browse files

This probably fixes a BN_rshift bug.

parent c3b1424c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ int BN_rshift(BIGNUM *r, BIGNUM *a, int n)
	nw=n/BN_BITS2;
	rb=n%BN_BITS2;
	lb=BN_BITS2-rb;
	if (nw > a->top)
	if (nw > a->top || a->top == 0)
		{
		BN_zero(r);
		return(1);