summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-02-24 01:54:57 +0100
committerDamien Miller <djm@mindrot.org>2003-02-24 01:54:57 +0100
commit386f1f3e6c5c3ea72970fcce4d939b2d4eb1bf3e (patch)
treebdb5240e42f93595ba3786a7ca127d96a0a0580e
parent - markus@cvs.openbsd.org 2003/02/03 08:56:16 (diff)
downloadopenssh-386f1f3e6c5c3ea72970fcce4d939b2d4eb1bf3e.tar.xz
openssh-386f1f3e6c5c3ea72970fcce4d939b2d4eb1bf3e.zip
- markus@cvs.openbsd.org 2003/02/04 09:32:08
[key.c] better debug3 message
-rw-r--r--ChangeLog5
-rw-r--r--key.c6
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 <openssl/evp.h>
@@ -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;