summaryrefslogtreecommitdiff
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
parentb9be60a722a8ae24affe68e07ef8557d00992648 (diff)
- markus@cvs.openbsd.org 2001/03/11 13:25:36
[auth2.c key.c] debug
-rw-r--r--ChangeLog8
-rw-r--r--auth2.c4
-rw-r--r--key.c4
3 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 311236139..3bf840f77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120010312
2 - OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2001/03/11 13:25:36
4 [auth2.c key.c]
5 debug
6
120010311 720010311
2 - OpenBSD CVS Sync 8 - OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2001/03/10 12:48:27 9 - markus@cvs.openbsd.org 2001/03/10 12:48:27
@@ -4490,4 +4496,4 @@
4490 - Wrote replacements for strlcpy and mkdtemp 4496 - Wrote replacements for strlcpy and mkdtemp
4491 - Released 1.0pre1 4497 - Released 1.0pre1
4492 4498
4493$Id: ChangeLog,v 1.939 2001/03/11 01:49:19 mouring Exp $ 4499$Id: ChangeLog,v 1.940 2001/03/11 20:01:55 mouring Exp $
diff --git a/auth2.c b/auth2.c
index aa56fa631..8d229955c 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2.c,v 1.45 2001/03/04 01:46:29 djm Exp $"); 26RCSID("$OpenBSD: auth2.c,v 1.46 2001/03/11 13:25:36 markus Exp $");
27 27
28#include <openssl/evp.h> 28#include <openssl/evp.h>
29 29
@@ -688,5 +688,7 @@ user_key_allowed(struct passwd *pw, Key *key)
688 restore_uid(); 688 restore_uid();
689 fclose(f); 689 fclose(f);
690 key_free(found); 690 key_free(found);
691 if (!found_key)
692 debug2("key not found");
691 return found_key; 693 return found_key;
692} 694}
diff --git a/key.c b/key.c
index 27910ff0e..df6bb2679 100644
--- a/key.c
+++ b/key.c
@@ -32,7 +32,7 @@
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */ 33 */
34#include "includes.h" 34#include "includes.h"
35RCSID("$OpenBSD: key.c,v 1.17 2001/02/04 15:32:24 stevesk Exp $"); 35RCSID("$OpenBSD: key.c,v 1.18 2001/03/11 13:25:36 markus Exp $");
36 36
37#include <openssl/evp.h> 37#include <openssl/evp.h>
38 38
@@ -530,7 +530,7 @@ key_type_from_name(char *name)
530 } else if (strcmp(name, "ssh-dss") == 0){ 530 } else if (strcmp(name, "ssh-dss") == 0){
531 return KEY_DSA; 531 return KEY_DSA;
532 } 532 }
533 debug("key_type_from_name: unknown key type '%s'", name); 533 debug2("key_type_from_name: unknown key type '%s'", name);
534 return KEY_UNSPEC; 534 return KEY_UNSPEC;
535} 535}
536 536