summaryrefslogtreecommitdiffstats
path: root/lib/libskey
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commitf05428e4cd63dde97bac14b84dd146a5c00455e3 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libskey
parent6de57e42c294763c78d77b0a9a7c5a08008a378a (diff)
downloadFreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip
FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'lib/libskey')
-rw-r--r--lib/libskey/put.c4
-rw-r--r--lib/libskey/skeyaccess.c18
-rw-r--r--lib/libskey/skeylogin.c6
-rw-r--r--lib/libskey/skeysubr.c4
4 files changed, 16 insertions, 16 deletions
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 <sys/time.h>
#include <sys/resource.h>
-
+
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
@@ -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);
OpenPOWER on IntegriCloud