remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2007 Kungliga Tekniska Högskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* 3. Neither the name of KTH nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software without
|
||||
@@ -79,7 +79,7 @@ test_add(gss_cred_id_t cred_handle)
|
||||
NULL,
|
||||
&time_rec,
|
||||
NULL);
|
||||
|
||||
|
||||
if (GSS_ERROR(major_status))
|
||||
errx(1, "add_cred failed");
|
||||
|
||||
@@ -98,7 +98,7 @@ copy_cred(void)
|
||||
gss_cred_id_t cred_handle;
|
||||
OM_uint32 time_rec;
|
||||
|
||||
major_status = gss_acquire_cred(&minor_status,
|
||||
major_status = gss_acquire_cred(&minor_status,
|
||||
GSS_C_NO_NAME,
|
||||
0,
|
||||
NULL,
|
||||
@@ -145,7 +145,7 @@ acquire_cred_service(const char *service,
|
||||
errx(1, "import_name failed");
|
||||
}
|
||||
|
||||
major_status = gss_acquire_cred(&minor_status,
|
||||
major_status = gss_acquire_cred(&minor_status,
|
||||
name,
|
||||
0,
|
||||
NULL,
|
||||
@@ -154,9 +154,9 @@ acquire_cred_service(const char *service,
|
||||
NULL,
|
||||
&time_rec);
|
||||
if (GSS_ERROR(major_status)) {
|
||||
warnx("acquire_cred failed: %s",
|
||||
warnx("acquire_cred failed: %s",
|
||||
gssapi_err(major_status, minor_status, GSS_C_NO_OID));
|
||||
} else {
|
||||
} else {
|
||||
print_time(time_rec);
|
||||
gss_release_cred(&minor_status, &cred_handle);
|
||||
}
|
||||
@@ -201,7 +201,7 @@ main(int argc, char **argv)
|
||||
setprogname(argv[0]);
|
||||
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx))
|
||||
usage(1);
|
||||
|
||||
|
||||
if (help_flag)
|
||||
usage (0);
|
||||
|
||||
@@ -243,7 +243,7 @@ main(int argc, char **argv)
|
||||
major_status = gss_krb5_ccache_name(&minor_status,
|
||||
ccache, NULL);
|
||||
if (GSS_ERROR(major_status))
|
||||
errx(1, "gss_krb5_ccache_name %s",
|
||||
errx(1, "gss_krb5_ccache_name %s",
|
||||
gssapi_err(major_status, minor_status, GSS_C_NO_OID));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user