comparison src/libpam/conversation.rs @ 163:a75a66cb4181

Add end-to-end tests; fix issues found by tests. - Create tests and installer/remover shell script - Fix Pointer/pointee problems - Add Debug formatting - Misc cleanup
author Paul Fisher <paul@pfish.zone>
date Mon, 14 Jul 2025 17:40:11 -0400
parents 4b3a5095f68c
children e27c5c667a5a
comparison
equal deleted inserted replaced
162:180237d0b498 163:a75a66cb4181
67 ErrorCode::result_to_c(internal()) 67 ErrorCode::result_to_c(internal())
68 } 68 }
69 } 69 }
70 70
71 /// A conversation owned by a PAM handle and lent to us. 71 /// A conversation owned by a PAM handle and lent to us.
72 #[derive(Debug)]
72 pub struct PamConv(libpam_sys::pam_conv); 73 pub struct PamConv(libpam_sys::pam_conv);
73 74
74 impl Conversation for PamConv { 75 impl Conversation for PamConv {
75 fn communicate(&self, messages: &[Exchange]) { 76 fn communicate(&self, messages: &[Exchange]) {
76 let internal = || { 77 let internal = || {