From 386f1f3e6c5c3ea72970fcce4d939b2d4eb1bf3e Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 24 Feb 2003 11:54:57 +1100 Subject: [PATCH] - markus@cvs.openbsd.org 2003/02/04 09:32:08 [key.c] better debug3 message --- ChangeLog | 5 ++++- key.c | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4dc325aa5..e2f4635ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,9 @@ [sshpty.c] don't call error() for readonly /dev; from soekris list; ok mcbride, henning, deraadt. + - markus@cvs.openbsd.org 2003/02/04 09:32:08 + [key.c] + better debug3 message 20030211 - (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com @@ -1132,4 +1135,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2601 2003/02/24 00:54:10 djm Exp $ +$Id: ChangeLog,v 1.2602 2003/02/24 00:54:57 djm Exp $ diff --git a/key.c b/key.c index 9806a729a..c87bfcbf0 100644 --- a/key.c +++ b/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.49 2002/09/09 14:54:14 markus Exp $"); +RCSID("$OpenBSD: key.c,v 1.50 2003/02/04 09:32:08 markus Exp $"); #include @@ -410,14 +410,14 @@ key_read(Key *ret, char **cpp) case KEY_DSA: space = strchr(cp, ' '); if (space == NULL) { - debug3("key_read: no space"); + debug3("key_read: missing whitespace"); return -1; } *space = '\0'; type = key_type_from_name(cp); *space = ' '; if (type == KEY_UNSPEC) { - debug3("key_read: no key found"); + debug3("key_read: missing keytype"); return -1; } cp = space+1;