force eof at end of input for lsh-writekey

This commit is contained in:
chombier 2001-10-19 13:04:49 +00:00
parent f394841f97
commit 45b2307841
1 changed files with 1 additions and 0 deletions

View File

@ -1880,6 +1880,7 @@ void *ssh2_randomize_thread(struct RandStruct *rnd)
memcpy(context->_gConsoleInBuf, buf + i, len); memcpy(context->_gConsoleInBuf, buf + i, len);
init_context(context, -1); init_context(context, -1);
context->_gConsoleInBufLen = len; context->_gConsoleInBufLen = len;
context->_gConsoleInEOF = true;
err = MPInit(65564, &context->_gMemPool, NULL); err = MPInit(65564, &context->_gMemPool, NULL);
if (err != noErr) { if (err != noErr) {