krb5: fix test_pac format string
Don't pass a potentially (although in reality, not) untrusted string to krb5_err(); cleanup error handling.
This commit is contained in:
@@ -762,8 +762,7 @@ t_err(krb5_context context,
|
||||
const char *func,
|
||||
krb5_error_code error)
|
||||
{
|
||||
fprintf(stderr, "test %s failed\n", test);
|
||||
krb5_err(context, 1, error, func);
|
||||
krb5_err(context, 1, error, "test %s failed in %s", test, func);
|
||||
}
|
||||
|
||||
static krb5_boolean
|
||||
|
Reference in New Issue
Block a user