summaryrefslogtreecommitdiffstats
path: root/auth2.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-11 20:01:55 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-11 20:01:55 +0000
commitb54873ad24e95c37034d1beba4873032e089cd59 (patch)
tree8ce18e726f1ec7ff560f483fe04cf88713cdff01 /auth2.c
parentb9be60a722a8ae24affe68e07ef8557d00992648 (diff)
- markus@cvs.openbsd.org 2001/03/11 13:25:36
[auth2.c key.c] debug
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index aa56fa63..8d229955 100644
--- a/auth2.c
+++ b/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>
@@ -688,5 +688,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;
}