diff options
author | Simo Sorce <simo@redhat.com> | 2014-02-15 17:33:00 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-02-15 17:33:00 -0500 |
commit | fc6a0e4d06efe0320a8ad53331633e7f9e869f53 (patch) | |
tree | 437200044ccb75f4020fe83c2817b1e53375272b | |
parent | 4b6ed2bfeeb912272e57fe9365cb175fd06ed6b0 (diff) | |
download | mod_auth_gssapi-fc6a0e4d06efe0320a8ad53331633e7f9e869f53.tar.gz mod_auth_gssapi-fc6a0e4d06efe0320a8ad53331633e7f9e869f53.tar.xz mod_auth_gssapi-fc6a0e4d06efe0320a8ad53331633e7f9e869f53.zip |
Fix warnings
-rw-r--r-- | src/mod_auth_gssapi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index 9296135..c8c56ce 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -107,7 +107,10 @@ static int mag_auth(request_rec *req) cfg = ap_get_module_config(req->per_dir_config, &mag_module); - /* FIXME: Checks for ssl only configuration */ + if (cfg->ssl_only) { + ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, req, + "FIXME: check for ssl!"); + } auth_header = apr_table_get(req->headers_in, "Authorization"); if (!auth_header) goto done; @@ -157,7 +160,7 @@ static int mag_auth(request_rec *req) /* FIXME: save creds */ - req->ap_auth_type = "Negotiate"; + req->ap_auth_type = apr_pstrdup(req->pool, "Negotiate"); req->user = apr_pstrndup(req->pool, name.value, name.length); ret = OK; |