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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue