summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-06-26 05:50:11 +0000
committermarkus <markus@openbsd.org>2001-06-26 05:50:11 +0000
commitb95ce490dcdbb2c00206c6a9a3e4404cae4be5ba (patch)
tree14555c3efc16c068f60315270ae57ca047417303 /usr.bin/ssh
parentremove unnecessary .Pp between .It; (diff)
downloadwireguard-openbsd-b95ce490dcdbb2c00206c6a9a3e4404cae4be5ba.tar.xz
wireguard-openbsd-b95ce490dcdbb2c00206c6a9a3e4404cae4be5ba.zip
new interface for secure_filename()
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/auth2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 6e7b8d133ab..baaa2eaa653 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.67 2001/06/25 20:26:37 stevesk Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.68 2001/06/26 05:50:11 markus Exp $");
#include <openssl/evp.h>
@@ -626,7 +626,7 @@ user_key_allowed2(struct passwd *pw, Key *key, char *file)
return 0;
}
if (options.strict_modes &&
- secure_filename(f, file, pw->pw_uid, line, sizeof(line)) != 0) {
+ secure_filename(f, file, pw, line, sizeof(line)) != 0) {
fclose(f);
log("Authentication refused: %s", line);
restore_uid();