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

use bn_wexpand instead of bn_expand2 (the latter is not needed here,

and it does not yet work correctly)

Submitted by: Douglas Stebila
parent aaa384ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
	if (a->top < b->top) { at = b; bt = a; }
	else { at = a; bt = b; }

	bn_expand2(r, at->top);
	bn_wexpand(r, at->top);

	for (i = 0; i < bt->top; i++)
		{