From 3606482486b8b4726dd25d4938567479d706c763 Mon Sep 17 00:00:00 2001
From: theevilapplepie <theevilapplepie@gmail.com>
Date: Tue, 3 Sep 2024 12:46:57 -0400
Subject: [PATCH] Update to increase pam stack size per
 https://gitlab.com/openconnect/ocserv/-/issues/619 Signed-off-by: James Vess
 <theevilapplepie@gmail.com>

---
 src/auth/pam.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/auth/pam.c b/src/auth/pam.c
index e8529718..43ab8004 100644
--- a/src/auth/pam.c
+++ b/src/auth/pam.c
@@ -48,7 +48,7 @@
 #include "auth/pam.h"
 #include "auth-unix.h"
 
-#define PAM_STACK_SIZE (96*1024)
+#define PAM_STACK_SIZE (1024*1024)
 
 #define MAX_REPLIES 2
 
-- 
2.39.5

