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-2005 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 @@ time_encryption(krb5_context context, size_t size,
|
||||
|
||||
timevalsub(&tv2, &tv1);
|
||||
|
||||
printf("%s size: %7lu iterations: %d time: %3ld.%06ld\n",
|
||||
printf("%s size: %7lu iterations: %d time: %3ld.%06ld\n",
|
||||
etype_name, (unsigned long)size, iterations,
|
||||
(long)tv2.tv_sec, (long)tv2.tv_usec);
|
||||
|
||||
@@ -91,7 +91,7 @@ time_encryption(krb5_context context, size_t size,
|
||||
|
||||
static void
|
||||
time_s2k(krb5_context context,
|
||||
krb5_enctype etype,
|
||||
krb5_enctype etype,
|
||||
const char *password,
|
||||
krb5_salt salt,
|
||||
int iterations)
|
||||
@@ -124,7 +124,7 @@ time_s2k(krb5_context context,
|
||||
|
||||
timevalsub(&tv2, &tv1);
|
||||
|
||||
printf("%s string2key %d iterations time: %3ld.%06ld\n",
|
||||
printf("%s string2key %d iterations time: %3ld.%06ld\n",
|
||||
etype_name, iterations, (long)tv2.tv_sec, (long)tv2.tv_usec);
|
||||
free(etype_name);
|
||||
|
||||
@@ -159,7 +159,7 @@ main(int argc, char **argv)
|
||||
int optidx = 0;
|
||||
krb5_salt salt;
|
||||
|
||||
krb5_enctype enctypes[] = {
|
||||
krb5_enctype enctypes[] = {
|
||||
ETYPE_DES_CBC_CRC,
|
||||
ETYPE_DES3_CBC_SHA1,
|
||||
ETYPE_ARCFOUR_HMAC_MD5,
|
||||
@@ -171,7 +171,7 @@ main(int argc, char **argv)
|
||||
|
||||
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx))
|
||||
usage(1);
|
||||
|
||||
|
||||
if (help_flag)
|
||||
usage (0);
|
||||
|
||||
|
Reference in New Issue
Block a user