From aca37d3400e31ef01f3f79b64dd8660d872aaf8f Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 25 Aug 2024 08:00:00 +0000 Subject: build: rename SCONFIGDIR config.h macro to SCONFIG_DIR This way it is visibly different from the configure variable SCONFIGDIR, which is helpful, because their values are slightly different: the macro is quoted while the configure variable is not quoted, and this difference may cause problems with other build systems. --- modules/pam_unix/passverify.c | 2 +- modules/pam_unix/passverify.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/pam_unix') diff --git a/modules/pam_unix/passverify.c b/modules/pam_unix/passverify.c index 624ba783..e8d0b91d 100644 --- a/modules/pam_unix/passverify.c +++ b/modules/pam_unix/passverify.c @@ -364,7 +364,7 @@ PAMH_ARG_DECL(int check_shadow_expiry, #define PW_TMPFILE "/etc/npasswd" #define SH_TMPFILE "/etc/nshadow" -#define OPW_TMPFILE SCONFIGDIR "/nopasswd" +#define OPW_TMPFILE SCONFIG_DIR "/nopasswd" /* * i64c - convert an integer to a radix 64 character diff --git a/modules/pam_unix/passverify.h b/modules/pam_unix/passverify.h index c4c8df5f..1636791c 100644 --- a/modules/pam_unix/passverify.h +++ b/modules/pam_unix/passverify.h @@ -9,7 +9,7 @@ #define PAM_UNIX_RUN_HELPER PAM_CRED_INSUFFICIENT -#define OLD_PASSWORDS_FILE SCONFIGDIR "/opasswd" +#define OLD_PASSWORDS_FILE SCONFIG_DIR "/opasswd" int is_pwd_shadowed(const struct passwd *pwd); -- cgit v1.2.3