diff src/libpam/pam_ffi.rs @ 81:a8f4718fed5d

When dynamically linking against the wrong PAM, fail.
author Paul Fisher <paul@pfish.zone>
date Tue, 10 Jun 2025 01:16:39 -0400
parents 5aa1a010f1e8
children 05291b601f0a
line wrap: on
line diff
--- a/src/libpam/pam_ffi.rs	Tue Jun 10 01:09:30 2025 -0400
+++ b/src/libpam/pam_ffi.rs	Tue Jun 10 01:16:39 2025 -0400
@@ -3,9 +3,9 @@
 #![allow(non_camel_case_types)]
 
 use crate::libpam::memory::Immovable;
+use num_enum::{IntoPrimitive, TryFromPrimitive};
 use std::ffi::{c_int, c_void};
 use std::marker::PhantomData;
-use num_enum::{IntoPrimitive, TryFromPrimitive};
 
 /// An opaque structure that a PAM handle points to.
 #[repr(C)]