summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c4
1 files changed, 2 insertions, 2 deletions
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();