summaryrefslogtreecommitdiffstats
path: root/auth_mellon.h
diff options
context:
space:
mode:
authorolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2014-06-20 11:25:16 +0000
committerolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2014-06-20 11:25:16 +0000
commite486a708c5506f1014f0e1ae98d4d98c41e5274e (patch)
tree669a9ff2a23536786dcdb21391a94be2637eab18 /auth_mellon.h
parentf60d394094439102ef140132c187a1f6f3cb0d50 (diff)
downloadmod_auth_mellon-e486a708c5506f1014f0e1ae98d4d98c41e5274e.tar.gz
mod_auth_mellon-e486a708c5506f1014f0e1ae98d4d98c41e5274e.tar.xz
mod_auth_mellon-e486a708c5506f1014f0e1ae98d4d98c41e5274e.zip
Convert lasso_saml_response to dynamic size storage
Using the previously introduced storage facility converts storage of lasso_saml_reponse from being constrained to a fixed sized string to being constrained only by the overall entry cache size. Signed-off-by: Simo Sorce <simo@redhat.com> git-svn-id: https://modmellon.googlecode.com/svn/trunk@234 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon.h')
-rw-r--r--auth_mellon.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/auth_mellon.h b/auth_mellon.h
index 4002147..64b6af1 100644
--- a/auth_mellon.h
+++ b/auth_mellon.h
@@ -75,7 +75,6 @@
#define AM_CACHE_VALSIZE 512-AM_CACHE_VARSIZE
#define AM_CACHE_ENVSIZE 128
#define AM_CACHE_USERSIZE 512
-#define AM_CACHE_MAX_LASSO_SAML_RESPONSE_SIZE 65536
#define AM_CACHE_DEFAULT_ENTRY_SIZE 196608
#define AM_CACHE_MIN_ENTRY_SIZE 65536
@@ -265,7 +264,7 @@ typedef struct am_cache_entry_t {
*/
am_cache_storage_t lasso_identity;
am_cache_storage_t lasso_session;
- char lasso_saml_response[AM_CACHE_MAX_LASSO_SAML_RESPONSE_SIZE];
+ am_cache_storage_t lasso_saml_response;
am_cache_env_t env[AM_CACHE_ENVSIZE];