aboutsummaryrefslogtreecommitdiff
path: root/lib/krb5/test_kuserok.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5/test_kuserok.c')
-rw-r--r--lib/krb5/test_kuserok.c28
1 files changed, 13 insertions, 15 deletions
diff --git a/lib/krb5/test_kuserok.c b/lib/krb5/test_kuserok.c
index 04a6f210a05e1..5beb1b75732ff 100644
--- a/lib/krb5/test_kuserok.c
+++ b/lib/krb5/test_kuserok.c
@@ -1,18 +1,18 @@
/*
- * Copyright (c) 2005 Kungliga Tekniska Högskolan
- * (Royal Institute of Technology, Stockholm, Sweden).
- * All rights reserved.
+ * Copyright (c) 2005 Kungliga Tekniska Högskolan
+ * (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
@@ -34,8 +34,6 @@
#include <getarg.h>
#include <err.h>
-RCSID("$Id: test_kuserok.c 15033 2005-04-30 15:15:38Z lha $");
-
static int version_flag = 0;
static int help_flag = 0;
@@ -69,7 +67,7 @@ main(int argc, char **argv)
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &o))
usage(1);
-
+
if (help_flag)
usage (0);
@@ -91,7 +89,7 @@ main(int argc, char **argv)
ret = krb5_parse_name(context, argv[0], &principal);
if (ret)
krb5_err(context, 1, ret, "krb5_parse_name");
-
+
ret = krb5_unparse_name(context, principal, &p);
if (ret)
krb5_err(context, 1, ret, "krb5_unparse_name");