Commit cd26e6c7 authored by Ben Laurie's avatar Ben Laurie
Browse files

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

parent 4e773226
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");