diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-05 10:42:58 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-05 10:42:58 +0000 |
commit | 02c12690501dd69ae54a130f3538850e9f71a8a5 (patch) | |
tree | 4b472611de083ca3954acd20b33b80560d715f98 /usr.bin/ssh/sshd.c | |
parent | 9b570cbbaaff205ba9a0ca197d8de47e4c88e394 (diff) |
fix whitespace: unexpand + trailing spaces.
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 29cd7748315..ed15824edba 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.190 2001/04/04 20:25:38 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.191 2001/04/05 10:42:57 markus Exp $"); #include <openssl/dh.h> #include <openssl/bn.h> @@ -273,11 +273,11 @@ generate_ephemeral_server_key(void) u_int32_t rand = 0; int i; - verbose("Generating %s%d bit RSA key.", + verbose("Generating %s%d bit RSA key.", sensitive_data.server_key ? "new " : "", options.server_key_bits); if (sensitive_data.server_key != NULL) key_free(sensitive_data.server_key); - sensitive_data.server_key = key_generate(KEY_RSA1, + sensitive_data.server_key = key_generate(KEY_RSA1, options.server_key_bits); verbose("RSA key generation complete."); @@ -332,7 +332,7 @@ sshd_exchange_identification(int sock_in, int sock_out) } /* Read other side's version identification. */ - memset(buf, 0, sizeof(buf)); + memset(buf, 0, sizeof(buf)); for (i = 0; i < sizeof(buf) - 1; i++) { if (atomicio(read, sock_in, &buf[i], 1) != 1) { log("Did not receive identification string from %s.", |