1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

testcrypt: fix the hello-world request!

The single simplest request in the entire protocol - the command
'hello' which is supposed to respond 'hello, world\n' to demonstrate
to an interactive user that testcrypt has started up successfully -
was missing the trailing newline in the response. :-)
This commit is contained in:
Simon Tatham 2019-01-23 18:52:38 +00:00
parent 1a2fbc66ba
commit f8f96a2fec

View File

@ -508,7 +508,7 @@ static void return_opt_val_cipher(strbuf *out, ssh_cipher *c)
static void handle_hello(BinarySource *in, strbuf *out)
{
strbuf_catf(out, "hello, world");
strbuf_catf(out, "hello, world\n");
}
static void rsa_free(RSAKey *rsa)