提交 c2cfc956 编写于 作者: A Andy Polyakov

bn/bn_add.c: fix dead code elimination that went bad.

Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 9c7a780b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册