shithub: tlsclient

Download patch

ref: ce26926d0705ff462e165cbfb29f51808763e738
parent: 7adde97848fd846c9848486a19ad94b1f8920f53
author: Jacob Moody <moody@posixcafe.org>
date: Wed Jan 1 10:08:46 EST 2025

pam: fix const correctness compile error

--- a/pam.c
+++ b/pam.c
@@ -31,8 +31,8 @@
 PAM_EXTERN int
 pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv )
 {
-	char *username;
-	char *password;
+	const char *username;
+	const char *password;
 	int fd;
 	AuthInfo *ai;