Commit 27713e3f authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Check t too.

parent 3492c47b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1028,6 +1028,8 @@ int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
			assert(j <= al || j <= bl);
			k = j+j;
			t = BN_CTX_get(ctx);
			if (t == NULL)
				goto err;
			if (al > j || bl > j)
				{
				bn_wexpand(t,k*4);