diff --git a/lib/openpam_dynamic.c b/lib/openpam_dynamic.c index ae55560..225c12e 100644 --- a/lib/openpam_dynamic.c +++ b/lib/openpam_dynamic.c @@ -91,7 +91,7 @@ try_dlopen(const char *modfn) int check_module_file; void *dlh; - openpam_get_feature(OPENPAM_CHECK_MODULE_FILE, + openpam_get_feature(OPENPAM_VERIFY_MODULE_FILE, &check_module_file); if (check_module_file && openpam_check_path_owner_perms(modfn) != 0) diff --git a/lib/openpam_get_feature.c b/lib/openpam_get_feature.c index 1fd6ec1..9da3f2e 100644 --- a/lib/openpam_get_feature.c +++ b/lib/openpam_get_feature.c @@ -76,7 +76,7 @@ openpam_get_feature(int feature, int *onoff) * Disabling it allows the application to specify the path to * the desired policy file directly. * - * =OPENPAM_CHECK_POLICY_FILE: + * =OPENPAM_VERIFY_POLICY_FILE: * Verify the ownership and permissions of the policy file * and the path leading up to it. * This feature is enabled by default. @@ -87,7 +87,7 @@ openpam_get_feature(int feature, int *onoff) * Enabling it prevents the use of modules in non-standard * locations. * - * =OPENPAM_CHECK_MODULE_FILE: + * =OPENPAM_VERIFY_MODULE_FILE: * Verify the ownership and permissions of each loadable * module and the path leading up to it. * This feature is enabled by default.