diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
commit | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch) | |
tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/xntpd/authstuff | |
parent | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff) | |
download | FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/xntpd/authstuff')
-rw-r--r-- | usr.sbin/xntpd/authstuff/authcert.c | 2 | ||||
-rw-r--r-- | usr.sbin/xntpd/authstuff/authspeed.c | 10 | ||||
-rw-r--r-- | usr.sbin/xntpd/authstuff/keyparity.c | 4 | ||||
-rw-r--r-- | usr.sbin/xntpd/authstuff/makeSP.c | 2 | ||||
-rw-r--r-- | usr.sbin/xntpd/authstuff/unixcert.c | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/xntpd/authstuff/authcert.c b/usr.sbin/xntpd/authstuff/authcert.c index 0f04d61..19ade8c 100644 --- a/usr.sbin/xntpd/authstuff/authcert.c +++ b/usr.sbin/xntpd/authstuff/authcert.c @@ -89,7 +89,7 @@ put8(lp) { int i; - + for(i = 0; i < 2; i++) printf("%08lx", (u_long)(*lp++)); } diff --git a/usr.sbin/xntpd/authstuff/authspeed.c b/usr.sbin/xntpd/authstuff/authspeed.c index a6362a8..93965d2 100644 --- a/usr.sbin/xntpd/authstuff/authspeed.c +++ b/usr.sbin/xntpd/authstuff/authspeed.c @@ -84,7 +84,7 @@ char *argv[]; case 'n': loops = atoi(ntp_optarg); if (loops <= 0) { - (void) fprintf(stderr, + (void) fprintf(stderr, "%s: %s is unlikely to be a useful number of loops\n", progname, ntp_optarg); errflg++; @@ -182,22 +182,22 @@ dodelay(loops) /* * If we're attempting to compute the cost of an auth2crypt() * for first compute the total cost, then compute the - * cost of only doing the first step, auth1crypt(). What + * cost of only doing the first step, auth1crypt(). What * remains is the cost of auth2crypt. */ loopcount = loops; (void) gettimeofday(&tstart, (struct timezone *)0); (void) getrusage(RUSAGE_SELF, &rstart); - + while (loopcount-- > 0) { auth1crypt((loops & 0xf) + domd5, pkt, 48); L_ADDUF(&dummy1, dummy3); auth2crypt((loops & 0xf) + domd5, pkt, 48); } - + (void) getrusage(RUSAGE_SELF, &rend); (void) gettimeofday(&tend, (struct timezone *)0); - + subtime(&tstart, &tend, &rtime1); #ifdef FAKE_RUSAGE vtime1 = (rend.tms_utime - rstart.tms_utime) * 1.0 / HZ; diff --git a/usr.sbin/xntpd/authstuff/keyparity.c b/usr.sbin/xntpd/authstuff/keyparity.c index aed05d9..8a12c13 100644 --- a/usr.sbin/xntpd/authstuff/keyparity.c +++ b/usr.sbin/xntpd/authstuff/keyparity.c @@ -237,7 +237,7 @@ decodekey(keytype, str, key) | ((key[i] >> 7) & STD_PARITY_BITS); } break; - + case KEY_TYPE_ASCII: /* * Make up key from ascii representation @@ -250,7 +250,7 @@ decodekey(keytype, str, key) key[1] = keybytes[4] << 24 | keybytes[5] << 16 | keybytes[6] << 8 | keybytes[7]; break; - + default: /* Oh, well */ return 0; diff --git a/usr.sbin/xntpd/authstuff/makeSP.c b/usr.sbin/xntpd/authstuff/makeSP.c index 4fcd78c..7daefa6 100644 --- a/usr.sbin/xntpd/authstuff/makeSP.c +++ b/usr.sbin/xntpd/authstuff/makeSP.c @@ -61,7 +61,7 @@ u_char S[8][64] = { 3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5, 0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15, 13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9, - + 10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8, 13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1, 13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7, diff --git a/usr.sbin/xntpd/authstuff/unixcert.c b/usr.sbin/xntpd/authstuff/unixcert.c index 47c76f6..9ec2c98 100644 --- a/usr.sbin/xntpd/authstuff/unixcert.c +++ b/usr.sbin/xntpd/authstuff/unixcert.c @@ -88,7 +88,7 @@ U_LONG *lp; { int i; - + for(i=0;i<2;i++){ printf("%08x",*lp++); } |