bn/bn_add.c: fix dead code elimination that went bad.
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
9c7a780bbe
commit
c2cfc956e5
@ -222,7 +222,7 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
|
||||
break;
|
||||
}
|
||||
}
|
||||
memcpy(rp, ap, sizeof(*rp) * (max - i));
|
||||
memcpy(rp, ap, sizeof(*rp) * dif);
|
||||
|
||||
r->top = max;
|
||||
r->neg = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user