summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2003-05-06 10:43:28 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2003-05-06 10:43:28 +0000
commit1519a81f79993ad792f0d02543a684976447324e (patch)
treee15b14a87006d5ee05dd3d997527a8df32c4c2b3 /usr.bin
parentd29e1e113ae176fb75abb4a1361c16b98a0a533f (diff)
sevenbit() before skeylookup().
millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/skeyinfo/skeyinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/skeyinfo/skeyinfo.c b/usr.bin/skeyinfo/skeyinfo.c
index 13d4cf13744..6a73146daee 100644
--- a/usr.bin/skeyinfo/skeyinfo.c
+++ b/usr.bin/skeyinfo/skeyinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyinfo.c,v 1.10 2002/05/16 17:26:58 millert Exp $ */
+/* $OpenBSD: skeyinfo.c,v 1.11 2003/05/06 10:43:27 mpech Exp $ */
/*
* Copyright (c) 1997, 2001, 2002 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -78,6 +78,7 @@ main(int argc, char **argv)
if ((name = strdup(pw->pw_name)) == NULL)
err(1, "cannot allocate memory");
+ sevenbit(name);
error = skeylookup(&key, name);
switch (error) {