From f05428e4cd63dde97bac14b84dd146a5c00455e3 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Tue, 30 May 1995 05:51:47 +0000 Subject: Remove trailing whitespace. --- lib/libskey/put.c | 4 ++-- lib/libskey/skeyaccess.c | 18 +++++++++--------- lib/libskey/skeylogin.c | 6 +++--- lib/libskey/skeysubr.c | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'lib/libskey') diff --git a/lib/libskey/put.c b/lib/libskey/put.c index 6619f73..cc7429a 100644 --- a/lib/libskey/put.c +++ b/lib/libskey/put.c @@ -2095,8 +2095,8 @@ char *c, *engout; return(engout); } -/* convert English to binary - * returns 1 OK - all good words and parity is OK +/* convert English to binary + * returns 1 OK - all good words and parity is OK * 0 word not in data base * -1 badly formed in put ie > 4 char word * -2 words OK but parity is wrong diff --git a/lib/libskey/skeyaccess.c b/lib/libskey/skeyaccess.c index 170da6c..098d618 100644 --- a/lib/libskey/skeyaccess.c +++ b/lib/libskey/skeyaccess.c @@ -1,26 +1,26 @@ /* * Figure out if UNIX passwords are permitted for any combination of user * name, group member, terminal port, host_name or network: - * + * * Programmatic interface: skeyaccess(user, port, host, addr) - * + * * All arguments are null-terminated strings. Specify a null character pointer * where information is not available. - * + * * When no address information is given this code performs the host (internet) * address lookup itself. It rejects addresses that appear to belong to * someone else. - * + * * When compiled with -DPERMIT_CONSOLE always permits UNIX passwords with * console logins, no matter what the configuration file says. - * + * * To build a stand-alone test version, compile with -DTEST and run it off an * skey.access file in the current directory: - * + * * Command-line interface: ./skeyaccess user port [host_or_ip_addr] - * + * * Errors are reported via syslogd. - * + * * Author: Wietse Venema, Eindhoven University of Technology. */ @@ -102,7 +102,7 @@ char *addr; /* * Bundle up the arguments in a structure so we won't have to drag around * boring long argument lists. - * + * * Look up the host address when only the name is given. We try to reject * addresses that belong to someone else. */ diff --git a/lib/libskey/skeylogin.c b/lib/libskey/skeylogin.c index 217c674..93a5d1d 100644 --- a/lib/libskey/skeylogin.c +++ b/lib/libskey/skeylogin.c @@ -10,7 +10,7 @@ #include #include - + #include #include #include @@ -84,7 +84,7 @@ char *ss; return -1; } return -1; /* Can't happen */ -} +} /* Find an entry in the One-time Password database. * Return codes: @@ -264,7 +264,7 @@ fprintf(stderr, "window= %d micro seconds \n" , microsec); fclose(mp->keyfile); - + setpriority(PRIO_PROCESS, 0, 0); return 0; } diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c index e144202..3911b32 100644 --- a/lib/libskey/skeysubr.c +++ b/lib/libskey/skeysubr.c @@ -27,7 +27,7 @@ char *passwd; /* Password, any length */ MDX_CTX md; u_long results[4]; unsigned int buflen; - + buflen = strlen(seed) + strlen(passwd); if((buf = malloc(buflen+1)) == NULL) return -1; @@ -138,7 +138,7 @@ int n; written to standard error instead of standard output. That means that anyone using the program from a terminal won't notice, but capturing standard output will get the key words without a newline in front of - them. + them. */ fprintf(stderr, "\n"); fflush(stderr); -- cgit v1.1