@@ -140,7 +140,7 @@ static void mag_store_deleg_creds(request_rec *req,
140
140
maj = gss_store_cred_into (& min , delegated_cred , GSS_C_INITIATE ,
141
141
GSS_C_NULL_OID , 1 , 1 , & store , NULL , NULL );
142
142
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" ,
144
144
mag_error (req , "failed to store delegated creds" ,
145
145
maj , min ));
146
146
}
@@ -250,7 +250,7 @@ static int mag_auth(request_rec *req)
250
250
cfg -> cred_store , & acquired_cred ,
251
251
NULL , NULL );
252
252
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" ,
254
254
mag_error (req , "gss_acquire_cred_from() failed" ,
255
255
maj , min ));
256
256
goto done ;
@@ -263,7 +263,7 @@ static int mag_auth(request_rec *req)
263
263
& client , & mech_type , & output , & flags , & vtime ,
264
264
& delegated_cred );
265
265
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" ,
267
267
mag_error (req , "gss_accept_sec_context() failed" ,
268
268
maj , min ));
269
269
goto done ;
@@ -288,7 +288,7 @@ static int mag_auth(request_rec *req)
288
288
/* Always set the GSS name in an env var */
289
289
maj = gss_display_name (& min , client , & name , NULL );
290
290
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" ,
292
292
mag_error (req , "gss_accept_sec_context() failed" ,
293
293
maj , min ));
294
294
goto done ;
@@ -312,7 +312,7 @@ static int mag_auth(request_rec *req)
312
312
if (cfg -> map_to_local ) {
313
313
maj = gss_localname (& min , client , mech_type , & lname );
314
314
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" ,
316
316
mag_error (req , "gss_localname() failed" , maj , min ));
317
317
goto done ;
318
318
}
0 commit comments