Mercurial > crates > nonstick
diff src/libpam/handle.rs @ 131:a632a8874131 default tip
Get all the Linux-PAM functions into libpam-sys, and get tests right.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 02 Jul 2025 02:24:21 -0400 |
parents | 80c07e5ab22f |
children |
line wrap: on
line diff
--- a/src/libpam/handle.rs Tue Jul 01 06:11:43 2025 -0400 +++ b/src/libpam/handle.rs Wed Jul 02 02:24:21 2025 -0400 @@ -14,9 +14,9 @@ use std::cell::Cell; use std::ffi::{c_char, c_int, CString}; +use libpam_sys::cfg_pam_impl; use std::ptr; use std::ptr::NonNull; -use libpam_sys::cfg_pam_impl; /// Owner for a PAM handle. pub struct LibPamHandle(pub NonNull<libpam_sys::pam_handle>);