mirror of https://github.com/macssh/macssh.git
force eof at end of input for lsh-writekey
This commit is contained in:
parent
f394841f97
commit
45b2307841
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue