diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-11 20:01:55 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-11 20:01:55 +0000 |
commit | b54873ad24e95c37034d1beba4873032e089cd59 (patch) | |
tree | 8ce18e726f1ec7ff560f483fe04cf88713cdff01 | |
parent | b9be60a722a8ae24affe68e07ef8557d00992648 (diff) |
- markus@cvs.openbsd.org 2001/03/11 13:25:36
[auth2.c key.c]
debug
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | auth2.c | 4 | ||||
-rw-r--r-- | key.c | 4 |
3 files changed, 12 insertions, 4 deletions
@@ -1,3 +1,9 @@ | |||
1 | 20010312 | ||
2 | - OpenBSD CVS Sync | ||
3 | - markus@cvs.openbsd.org 2001/03/11 13:25:36 | ||
4 | [auth2.c key.c] | ||
5 | debug | ||
6 | |||
1 | 20010311 | 7 | 20010311 |
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 $ |
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2.c,v 1.45 2001/03/04 01:46:29 djm Exp $"); | 26 | RCSID("$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 | } |
@@ -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" |
35 | RCSID("$OpenBSD: key.c,v 1.17 2001/02/04 15:32:24 stevesk Exp $"); | 35 | RCSID("$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 | ||