diff testharness/src/lib.rs @ 159:634cd5f2ac8b

Separate logging into its own trait apart from the rest of PAM.
author Paul Fisher <paul@pfish.zone>
date Sat, 12 Jul 2025 18:16:18 -0400
parents 1bc52025156b
children a75a66cb4181
line wrap: on
line diff
--- a/testharness/src/lib.rs	Sat Jul 12 17:17:37 2025 -0400
+++ b/testharness/src/lib.rs	Sat Jul 12 18:16:18 2025 -0400
@@ -18,6 +18,10 @@
     ) -> nonstick::Result<()> {
         Ok(())
     }
+
+    fn change_authtok(_handle: &mut M, _args: Vec<&CStr>, _flags: Flags) -> nonstick::Result<()> {
+        todo!()
+    }
 }
 
 pam_hooks!(TestHarness);