summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--auth2.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ed5e9080..492d00c5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
3920010629 4220010629
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 $
diff --git a/auth2.c b/auth2.c
index e7a7050f4..276e05dd5 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.67 2001/06/25 20:26:37 stevesk Exp $"); 26RCSID("$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();