From 45b2307841383e08444199d0436c147aaa636c7d Mon Sep 17 00:00:00 2001 From: chombier <> Date: Fri, 19 Oct 2001 13:04:49 +0000 Subject: [PATCH] force eof at end of input for lsh-writekey --- macssh/source/ssh/ssh2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/macssh/source/ssh/ssh2.c b/macssh/source/ssh/ssh2.c index 9f0049b..2e4a724 100755 --- a/macssh/source/ssh/ssh2.c +++ b/macssh/source/ssh/ssh2.c @@ -1880,6 +1880,7 @@ void *ssh2_randomize_thread(struct RandStruct *rnd) memcpy(context->_gConsoleInBuf, buf + i, len); init_context(context, -1); context->_gConsoleInBufLen = len; + context->_gConsoleInEOF = true; err = MPInit(65564, &context->_gMemPool, NULL); if (err != noErr) {