diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-03-11 13:25:37 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-03-11 13:25:37 +0000 |
commit | b4d04a83569c167c99827d9fea7da31263d66306 (patch) | |
tree | 877646ce72633ecfe439f8fabb83618bbee5ca81 | |
parent | 10bde171ba2d0769fb14e858fcf737690ccd9002 (diff) |
debug
-rw-r--r-- | usr.bin/ssh/auth2.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/key.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index fb9aa7402af..a92379d82ec 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.45 2001/03/04 01:46:29 djm Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.46 2001/03/11 13:25:36 markus Exp $"); #include <openssl/evp.h> @@ -624,5 +624,7 @@ user_key_allowed(struct passwd *pw, Key *key) restore_uid(); fclose(f); key_free(found); + if (!found_key) + debug2("key not found"); return found_key; } diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c index 27910ff0efc..df6bb267944 100644 --- a/usr.bin/ssh/key.c +++ b/usr.bin/ssh/key.c @@ -32,7 +32,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: key.c,v 1.17 2001/02/04 15:32:24 stevesk Exp $"); +RCSID("$OpenBSD: key.c,v 1.18 2001/03/11 13:25:36 markus Exp $"); #include <openssl/evp.h> @@ -530,7 +530,7 @@ key_type_from_name(char *name) } else if (strcmp(name, "ssh-dss") == 0){ return KEY_DSA; } - debug("key_type_from_name: unknown key type '%s'", name); + debug2("key_type_from_name: unknown key type '%s'", name); return KEY_UNSPEC; } |