summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authordjm <djm>2010-03-05 03:03:03 +0000
committerdjm <djm>2010-03-05 03:03:03 +0000
commit1ccd5c069c9ce5322ae1526e87bb7baa67b98f06 (patch)
tree7f1d18dc7f2e8ef83ccae5f65f303caf1e773ab2 /auth.c
parent619b1e38b6cf460712821bcd5e2074c64fbc9b19 (diff)
downloadopenssh-1ccd5c069c9ce5322ae1526e87bb7baa67b98f06.tar.gz
- djm@cvs.openbsd.org 2010/03/05 02:58:11
[auth.c] make the warning for a revoked key louder and more noticable
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth.c b/auth.c
index e680efbc..e8fbe9fd 100644
--- a/auth.c
+++ b/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.
*
@@ -604,7 +604,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;
}