diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | auth2.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -35,6 +35,9 @@ | |||
35 | [sshd.8] | 35 | [sshd.8] |
36 | remove unnecessary .Pp between .It; | 36 | remove unnecessary .Pp between .It; |
37 | millert@ ok | 37 | millert@ ok |
38 | - markus@cvs.openbsd.org 2001/06/26 05:50:11 | ||
39 | [auth2.c] | ||
40 | new interface for secure_filename() | ||
38 | 41 | ||
39 | 20010629 | 42 | 20010629 |
40 | - (bal) Removed net_aton() since we don't use it any more | 43 | - (bal) Removed net_aton() since we don't use it any more |
@@ -5862,4 +5865,4 @@ | |||
5862 | - Wrote replacements for strlcpy and mkdtemp | 5865 | - Wrote replacements for strlcpy and mkdtemp |
5863 | - Released 1.0pre1 | 5866 | - Released 1.0pre1 |
5864 | 5867 | ||
5865 | $Id: ChangeLog,v 1.1354 2001/07/04 03:55:21 mouring Exp $ | 5868 | $Id: ChangeLog,v 1.1355 2001/07/04 03:56:56 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.67 2001/06/25 20:26:37 stevesk Exp $"); | 26 | RCSID("$OpenBSD: auth2.c,v 1.68 2001/06/26 05:50:11 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/evp.h> | 28 | #include <openssl/evp.h> |
29 | 29 | ||
@@ -679,7 +679,7 @@ user_key_allowed2(struct passwd *pw, Key *key, char *file) | |||
679 | return 0; | 679 | return 0; |
680 | } | 680 | } |
681 | if (options.strict_modes && | 681 | if (options.strict_modes && |
682 | secure_filename(f, file, pw->pw_uid, line, sizeof(line)) != 0) { | 682 | secure_filename(f, file, pw, line, sizeof(line)) != 0) { |
683 | fclose(f); | 683 | fclose(f); |
684 | log("Authentication refused: %s", line); | 684 | log("Authentication refused: %s", line); |
685 | restore_uid(); | 685 | restore_uid(); |