@@ -140,7 +140,7 @@ static void mag_store_deleg_creds(request_rec *req,
140140 maj = gss_store_cred_into (& min , delegated_cred , GSS_C_INITIATE ,
141141 GSS_C_NULL_OID , 1 , 1 , & store , NULL , NULL );
142142 if (GSS_ERROR (maj )) {
143- ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req ,
143+ ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req , "%s" ,
144144 mag_error (req , "failed to store delegated creds" ,
145145 maj , min ));
146146 }
@@ -250,7 +250,7 @@ static int mag_auth(request_rec *req)
250250 cfg -> cred_store , & acquired_cred ,
251251 NULL , NULL );
252252 if (GSS_ERROR (maj )) {
253- ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req ,
253+ ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req , "%s" ,
254254 mag_error (req , "gss_acquire_cred_from() failed" ,
255255 maj , min ));
256256 goto done ;
@@ -263,7 +263,7 @@ static int mag_auth(request_rec *req)
263263 & client , & mech_type , & output , & flags , & vtime ,
264264 & delegated_cred );
265265 if (GSS_ERROR (maj )) {
266- ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req ,
266+ ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req , "%s" ,
267267 mag_error (req , "gss_accept_sec_context() failed" ,
268268 maj , min ));
269269 goto done ;
@@ -288,7 +288,7 @@ static int mag_auth(request_rec *req)
288288 /* Always set the GSS name in an env var */
289289 maj = gss_display_name (& min , client , & name , NULL );
290290 if (GSS_ERROR (maj )) {
291- ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req ,
291+ ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req , "%s" ,
292292 mag_error (req , "gss_accept_sec_context() failed" ,
293293 maj , min ));
294294 goto done ;
@@ -312,7 +312,7 @@ static int mag_auth(request_rec *req)
312312 if (cfg -> map_to_local ) {
313313 maj = gss_localname (& min , client , mech_type , & lname );
314314 if (maj != GSS_S_COMPLETE ) {
315- ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req ,
315+ ap_log_rerror (APLOG_MARK , APLOG_ERR |APLOG_NOERRNO , 0 , req , "%s" ,
316316 mag_error (req , "gss_localname() failed" , maj , min ));
317317 goto done ;
318318 }
0 commit comments