提交 cd26e6c7 编写于 作者: B Ben Laurie

Oops! Read a full buffer instead of some spurious number from elswhere.

上级 4e773226
......@@ -347,7 +347,7 @@ int main(int argc,char **argv)
}
/* FIXME: we should only extract if stdout is ready */
n=SSLStateMachine_read_extract(pMachine,buf,n);
n=SSLStateMachine_read_extract(pMachine,buf,sizeof buf);
if(n < 0)
{
SSLStateMachine_print_error(pMachine,"read extract failed");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册