mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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 */
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user