diff options
author | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2013-03-06 12:53:54 +0000 |
---|---|---|
committer | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2013-03-06 12:53:54 +0000 |
commit | 540d7e4eea558d644e2bc0a1688972736ffcbbea (patch) | |
tree | 49b10e5ad1ba68839ccdb2b23bbc38dc3a82ee03 /auth_mellon.h | |
parent | 1ecef88f75a35b03cfc37e85c743301d0acfa53b (diff) | |
download | mod_auth_mellon-540d7e4eea558d644e2bc0a1688972736ffcbbea.tar.gz mod_auth_mellon-540d7e4eea558d644e2bc0a1688972736ffcbbea.tar.xz mod_auth_mellon-540d7e4eea558d644e2bc0a1688972736ffcbbea.zip |
Rename am_generate_session_id() to am_generate_id().
Since this function is used for both generating session IDs and for
generating POST data identifiers for POST replay, it should have a
generic name.
git-svn-id: https://modmellon.googlecode.com/svn/trunk@181 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon.h')
-rw-r--r-- | auth_mellon.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/auth_mellon.h b/auth_mellon.h index 176b2f6..fa3df40 100644 --- a/auth_mellon.h +++ b/auth_mellon.h @@ -76,9 +76,10 @@ #define AM_CACHE_MAX_LASSO_SAML_RESPONSE_SIZE 65536 -/* This is the length of the session id we use. +/* This is the length of the id we use (for session IDs and + * replaying POST data). */ -#define AM_SESSION_ID_LENGTH 32 +#define AM_ID_LENGTH 32 #define am_get_srv_cfg(s) (am_srv_cfg_rec *)ap_get_module_config((s)->module_config, &auth_mellon_module) @@ -336,7 +337,7 @@ char *am_extract_query_parameter(apr_pool_t *pool, char *am_urlencode(apr_pool_t *pool, const char *str); int am_urldecode(char *data); int am_check_url(request_rec *r, const char *url); -char *am_generate_session_id(request_rec *r); +char *am_generate_id(request_rec *r); char *am_getfile(apr_pool_t *conf, server_rec *s, const char *file); char *am_get_endpoint_url(request_rec *r); int am_postdir_cleanup(request_rec *s); |