diff options
author | 2010-03-05 02:58:11 +0000 | |
---|---|---|
committer | 2010-03-05 02:58:11 +0000 | |
commit | 147359906f173c5dabe13bfc29f2f76a8901eabf (patch) | |
tree | fa207424d211dfb0fcf66aabe9e77c64c51d5d7f /usr.bin/ssh/auth.c | |
parent | "force-command" is not spelled "forced-command"; spotted by (diff) | |
download | wireguard-openbsd-147359906f173c5dabe13bfc29f2f76a8901eabf.tar.xz wireguard-openbsd-147359906f173c5dabe13bfc29f2f76a8901eabf.zip |
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.c | 5 |
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; } |