summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-11-16 20:44:43 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-11-16 20:44:43 +0000
commit28f119163244e31a5e43530b83cc6c92c1270692 (patch)
tree0c41ceb8befe6bc4767d3c96b7358c43a2158cd3 /usr.bin
parentec874007cd9094adccd625439f849ad40d4f123a (diff)
prettyprint dreaded keysize warnings
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sshconnect.c14
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