Oops! Read a full buffer instead of some spurious number from elswhere.
This commit is contained in:
parent
4e773226f5
commit
cd26e6c79d
@ -347,7 +347,7 @@ int main(int argc,char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: we should only extract if stdout is ready */
|
/* 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)
|
if(n < 0)
|
||||||
{
|
{
|
||||||
SSLStateMachine_print_error(pMachine,"read extract failed");
|
SSLStateMachine_print_error(pMachine,"read extract failed");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user