Mercurial > crates > nonstick
diff libpam-sys/src/constants.rs @ 125:2b255c92417b
Introduce base PAM functions; use the real X/SSO PAM header for tests.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 30 Jun 2025 17:47:32 -0400 |
parents | f469b8d9ad78 |
children | c77846f3a979 |
line wrap: on
line diff
--- a/libpam-sys/src/constants.rs Mon Jun 30 04:54:38 2025 -0400 +++ b/libpam-sys/src/constants.rs Mon Jun 30 17:47:32 2025 -0400 @@ -194,8 +194,6 @@ PAM_REINITIALIZE_CRED = 0b0100; PAM_REFRESH_CRED = 0b1000; ); - #[deprecated = "everybody spells it with a Z nowadays"] - pub const PAM_REINITIALISE_CRED: i32 = 0b0100; define!( /// A flag for `pam_sm_chauthtok`. @@ -203,8 +201,6 @@ PAM_UPDATE_AUTHTOK = 0b0010; PAM_CHANGE_EXPIRED_AUTHTOK = 0b0100; ); - #[deprecated = "modern PAM implementations use PAM_PRELIM_CHECK"] - pub const PAM_CRED_PRELIM_CHECK: i32 = 0b0001; } #[cfg_pam_impl("OpenPam")] @@ -272,4 +268,3 @@ /// A flag for `pam_chauthtok`. pub const PAM_NO_AUTHTOK_CHECK: i32 = 0b1000; } -