From 6a130cb01bef62688d1e9d0393d31cfe9ec928a2 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 27 Dec 2004 19:40:50 +0000 Subject: use getuser instead of getenv("USER"). add portdate file. --- src/cmd/secstore/portdate | 9 +++++++++ src/cmd/secstore/secstore.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/cmd/secstore/portdate (limited to 'src') diff --git a/src/cmd/secstore/portdate b/src/cmd/secstore/portdate new file mode 100644 index 00000000..8d50496e --- /dev/null +++ b/src/cmd/secstore/portdate @@ -0,0 +1,9 @@ +SConn.c 2004/1225 +SConn.h 2004/1225 +aescbc.c 2004/1225 +dirls.c 2004/1225 +pak.c 2004/1225 +password.c 2004/1225 +secstore.c 2004/1225 +secstore.h 2004/1225 +util.c 2004/1225 diff --git a/src/cmd/secstore/secstore.c b/src/cmd/secstore/secstore.c index 0a361c14..94e9ff7e 100644 --- a/src/cmd/secstore/secstore.c +++ b/src/cmd/secstore/secstore.c @@ -490,7 +490,7 @@ main(int argc, char **argv) AuthConn *c; serve = "$auth"; - user = getenv("USER"); + user = getuser(); memset(Gflag, 0, sizeof Gflag); fmtinstall('B', mpfmt); fmtinstall('H', encodefmt); -- cgit v1.2.3