diff options
author | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2013-05-08 12:24:26 +0000 |
---|---|---|
committer | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2013-05-08 12:24:26 +0000 |
commit | 569ebfaea43475fef73512b11f0f976f8909d238 (patch) | |
tree | 46eced01640045154e433cb527aa0c5de151e8c4 /auth_mellon_handler.c | |
parent | 68d3b04aaa1960e900ef3f4e72e1f38d3265ff52 (diff) | |
download | mod_auth_mellon-569ebfaea43475fef73512b11f0f976f8909d238.tar.gz mod_auth_mellon-569ebfaea43475fef73512b11f0f976f8909d238.tar.xz mod_auth_mellon-569ebfaea43475fef73512b11f0f976f8909d238.zip |
Compatibility helpers for Apache 2.4.
Thansk to Thijs Kinkhorst for identifying the changes that were
necessary!
git-svn-id: https://modmellon.googlecode.com/svn/trunk@208 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon_handler.c')
-rw-r--r-- | auth_mellon_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth_mellon_handler.c b/auth_mellon_handler.c index a24f59b..996daea 100644 --- a/auth_mellon_handler.c +++ b/auth_mellon_handler.c @@ -1283,11 +1283,11 @@ static int am_validate_subject(request_rec *r, LassoSaml2Assertion *assertion, } if (scd->Address && CFG_VALUE(cfg, subject_confirmation_data_address_check)) { - if (strcasecmp(scd->Address, r->connection->remote_ip)) { + if (strcasecmp(scd->Address, am_compat_request_ip(r))) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "Wrong Address in SubjectConfirmationData." "Current address is \"%s\", but should have been \"%s\".", - r->connection->remote_ip, scd->Address); + am_compat_request_ip(r), scd->Address); return HTTP_BAD_REQUEST; } } |