summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-03-05 02:58:12 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-03-05 02:58:12 +0000
commit234c10660970ae7fe0a95429d82b3c04bbb3af03 (patch)
tree61012799d091127edb7c9e09b68beffdc9f82fe8 /usr.bin/ssh/auth.c
parent60167b73d57b9ecbda19a58ec80f81ec7bc20390 (diff)
make the warning for a revoked key louder and more noticable
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r--usr.bin/ssh/auth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 19002a6def1..2a15a15678b 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.85 2010/03/04 10:36:03 djm Exp $ */
+/* $OpenBSD: auth.c,v 1.86 2010/03/05 02:58:11 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -486,7 +486,8 @@ auth_key_is_revoked(Key *key)
case 1:
/* Key revoked */
key_fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX);
- error("%s key %s is revoked", key_type(key), key_fp);
+ error("WARNING: authentication attempt with a revoked "
+ "%s key %s ", key_type(key), key_fp);
xfree(key_fp);
return 1;
}