diff options
author | 1999-11-16 20:44:42 +0000 | |
---|---|---|
committer | 1999-11-16 20:44:42 +0000 | |
commit | 0ae3916b7596029a5e644ecdd4b5c40f64818378 (patch) | |
tree | 8b9317c24da6a6e01228433b3a15beecfdc709f6 | |
parent | noone needs this anymore (diff) | |
download | wireguard-openbsd-0ae3916b7596029a5e644ecdd4b5c40f64818378.tar.xz wireguard-openbsd-0ae3916b7596029a5e644ecdd4b5c40f64818378.zip |
prettyprint dreaded keysize warnings
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 1b99ced1a3e..ed3758cc68e 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -15,7 +15,7 @@ login (authentication) dialog. */ #include "includes.h" -RCSID("$Id: sshconnect.c,v 1.31 1999/11/15 23:58:54 markus Exp $"); +RCSID("$Id: sshconnect.c,v 1.32 1999/11/16 20:44:42 markus Exp $"); #include <ssl/bn.h> #include "xmalloc.h" @@ -1075,9 +1075,9 @@ void ssh_login(int host_key_valid, rbits = BN_num_bits(public_key->n); if (bits != rbits) { - log("Warning: Server lies about size of server public key,"); - log("Warning: this may be due to an old implementation of ssh."); - log("Warning: (actual size %d bits, announced size %d bits)", rbits, bits); + log("Warning: Server lies about size of server public key: " + "actual size is %d bits vs. announced %d.", rbits, bits); + log("Warning: This may be due to an old implementation of ssh."); } /* Get the host key. */ @@ -1092,9 +1092,9 @@ void ssh_login(int host_key_valid, rbits = BN_num_bits(host_key->n); if (bits != rbits) { - log("Warning: Server lies about size of server host key,"); - log("Warning: this may be due to an old implementation of ssh."); - log("Warning: (actual size %d bits, announced size %d bits)", rbits, bits); + log("Warning: Server lies about size of server host key: " + "actual size is %d bits vs. announced %d.", rbits, bits); + log("Warning: This may be due to an old implementation of ssh."); } /* Store the host key from the known host file in here |