summaryrefslogtreecommitdiff
path: root/lib/libskey/skeysubr.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-10-14 03:09:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-10-14 03:09:14 +0000
commit5a253032c960893f9d045131f51e6dc5775ef61c (patch)
tree2775f6e69de9e187e29d96d7e0e71637b818b8c2 /lib/libskey/skeysubr.c
parenta5e27f1969cbd566e6d6ecb6f7e5e50a270cc6b2 (diff)
htoi now takes an int, not char.
Only skey_set_algorithm() for the record that matches target user.
Diffstat (limited to 'lib/libskey/skeysubr.c')
-rw-r--r--lib/libskey/skeysubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c
index 05809a9ec78..70b4093272e 100644
--- a/lib/libskey/skeysubr.c
+++ b/lib/libskey/skeysubr.c
@@ -10,7 +10,7 @@
*
* S/KEY misc routines.
*
- * $Id: skeysubr.c,v 1.9 1996/09/30 23:54:38 millert Exp $
+ * $Id: skeysubr.c,v 1.10 1996/10/14 03:09:13 millert Exp $
*/
#include <stdio.h>
@@ -366,7 +366,7 @@ btoa8(out, in)
/* Convert hex digit to binary integer */
int
htoi(c)
- register char c;
+ register int c;
{
if ('0' <= c && c <= '9')
return c - '0';