提交 4e9023f4 编写于 作者: R Richard Levitte

Unsigned vs. signed fixed.

上级 d3a28e8b
......@@ -173,7 +173,7 @@ static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, E
}
memset(buf, 0, buflen - len);
if (len != BN_bn2bin(x, buf + buflen - len))
if (len != (size_t)BN_bn2bin(x, buf + buflen - len))
{
ECDHerr(ECDH_F_ECDH_COMPUTE_KEY,ERR_R_BN_LIB);
goto err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册