aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/secstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/secstore')
-rw-r--r--src/cmd/auth/secstore/SConn.c1
-rw-r--r--src/cmd/auth/secstore/SConn.h1
-rw-r--r--src/cmd/auth/secstore/dirls.c1
-rw-r--r--src/cmd/auth/secstore/pak.c1
-rw-r--r--src/cmd/auth/secstore/password.c1
-rw-r--r--src/cmd/auth/secstore/secstore.c5
-rw-r--r--src/cmd/auth/secstore/secstore.h1
-rw-r--r--src/cmd/auth/secstore/secstored.c3
-rw-r--r--src/cmd/auth/secstore/secureidcheck.c2
-rw-r--r--src/cmd/auth/secstore/secuser.c1
10 files changed, 4 insertions, 13 deletions
diff --git a/src/cmd/auth/secstore/SConn.c b/src/cmd/auth/secstore/SConn.c
index 07e92327..9ffb3d93 100644
--- a/src/cmd/auth/secstore/SConn.c
+++ b/src/cmd/auth/secstore/SConn.c
@@ -211,4 +211,3 @@ readstr(SConn *conn, char *s)
}
return n;
}
-
diff --git a/src/cmd/auth/secstore/SConn.h b/src/cmd/auth/secstore/SConn.h
index 31765f3e..09ddb637 100644
--- a/src/cmd/auth/secstore/SConn.h
+++ b/src/cmd/auth/secstore/SConn.h
@@ -23,4 +23,3 @@ extern int readstr(SConn*, char*); /* call with buf of size Maxmsg+1 */
extern void *emalloc(ulong); /* dies on failure; clears memory */
extern void *erealloc(void *, ulong);
extern char *estrdup(char *);
-
diff --git a/src/cmd/auth/secstore/dirls.c b/src/cmd/auth/secstore/dirls.c
index eaae8cdc..39542a52 100644
--- a/src/cmd/auth/secstore/dirls.c
+++ b/src/cmd/auth/secstore/dirls.c
@@ -84,4 +84,3 @@ dirls(char *path)
free(dirbuf);
return list;
}
-
diff --git a/src/cmd/auth/secstore/pak.c b/src/cmd/auth/secstore/pak.c
index effc01d9..1f1a09c5 100644
--- a/src/cmd/auth/secstore/pak.c
+++ b/src/cmd/auth/secstore/pak.c
@@ -341,4 +341,3 @@ done:
mpfree(H);
return rc;
}
-
diff --git a/src/cmd/auth/secstore/password.c b/src/cmd/auth/secstore/password.c
index b2a00e72..c9e63d19 100644
--- a/src/cmd/auth/secstore/password.c
+++ b/src/cmd/auth/secstore/password.c
@@ -133,4 +133,3 @@ freePW(PW *pw)
mpfree(pw->Hi);
free(pw);
}
-
diff --git a/src/cmd/auth/secstore/secstore.c b/src/cmd/auth/secstore/secstore.c
index 571c6fae..2b33e5d4 100644
--- a/src/cmd/auth/secstore/secstore.c
+++ b/src/cmd/auth/secstore/secstore.c
@@ -85,7 +85,7 @@ getfile(SConn *conn, char *gf, uchar **buf, ulong *buflen, uchar *key, int nkey)
return 0;
}
- /* conn is already encrypted against wiretappers,
+ /* conn is already encrypted against wiretappers,
but gf is also encrypted against server breakin. */
if(buf == nil && (fd =create(gf, OWRITE, 0600)) < 0){
fprint(2, "can't open %s: %r\n", gf);
@@ -197,7 +197,7 @@ putfile(SConn *conn, char *pf, uchar *buf, ulong len, uchar *key, int nkey)
return -1;
}
}else{
- if((n = len - bufi) > Maxmsg-ivo)
+ if((n = len - bufi) > Maxmsg-ivo)
n = Maxmsg-ivo;
memcpy(b+ivo, buf+bufi, n);
bufi += n;
@@ -578,4 +578,3 @@ main(int argc, char **argv)
exits("");
return 0;
}
-
diff --git a/src/cmd/auth/secstore/secstore.h b/src/cmd/auth/secstore/secstore.h
index d9cb807d..dfc07730 100644
--- a/src/cmd/auth/secstore/secstore.h
+++ b/src/cmd/auth/secstore/secstore.h
@@ -28,4 +28,3 @@ char *PAK_Hi(char *, char *, mpint *, mpint *);
#define LOG "secstore"
extern char *SECSTORE_DIR;
-
diff --git a/src/cmd/auth/secstore/secstored.c b/src/cmd/auth/secstore/secstored.c
index 9a3c4b66..d32ec64c 100644
--- a/src/cmd/auth/secstore/secstored.c
+++ b/src/cmd/auth/secstore/secstored.c
@@ -24,7 +24,7 @@ usage(void)
static int
getdir(SConn *conn, char *id)
{
- char *ls, *s;
+ char *ls, *s;
uchar *msg;
int n, len;
@@ -417,4 +417,3 @@ main(int argc, char **argv)
}
}
}
-
diff --git a/src/cmd/auth/secstore/secureidcheck.c b/src/cmd/auth/secstore/secureidcheck.c
index 8ef6f6aa..9d8e81ad 100644
--- a/src/cmd/auth/secstore/secureidcheck.c
+++ b/src/cmd/auth/secstore/secureidcheck.c
@@ -417,7 +417,7 @@ secureidcheck(char *user, char *response)
resp = nil;
continue;
}
-
+
switch(resp->code){
case R_AccessAccept:
syslog(0, AUTHLOG, "%s accepted ruser=%s", dest, ruser);
diff --git a/src/cmd/auth/secstore/secuser.c b/src/cmd/auth/secstore/secuser.c
index 31ba184b..8e4eae60 100644
--- a/src/cmd/auth/secstore/secuser.c
+++ b/src/cmd/auth/secstore/secuser.c
@@ -241,4 +241,3 @@ userinput(char *buf, int blen)
exits("input too large");
}
}
-