提交 617298dc 编写于 作者: D Dr. Stephen Henson

Update from stable branch.

上级 33ab2e31
......@@ -2471,7 +2471,7 @@ static void readbn(BIGNUM **bn, BIO *bconn)
int l;
l = BIO_gets(bconn, buf, sizeof buf);
assert(l >= 0);
assert(l > 0);
assert(buf[l-1] == '\n');
buf[l-1] = '\0';
BN_hex2bn(bn, buf);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册