diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 21:35:51 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 21:35:51 +0000 |
commit | f7db3bb64caf8d7822a18d6fd4c0480df7d0086d (patch) | |
tree | 3167ed1f115185df591dc1c28c8aa33476194cbb /readconf.c | |
parent | 3ab1dfa2a654b6764eaa121f7111e94c35175894 (diff) |
- markus@cvs.openbsd.org 2001/08/01 22:03:33
[authfd.c authfd.h readconf.c readconf.h scard.c scard.h ssh-add.c
ssh-agent.c ssh.c]
use strings instead of ints for smartcard reader ids
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readconf.c,v 1.85 2001/07/31 09:28:44 jakob Exp $"); +RCSID("$OpenBSD: readconf.c,v 1.86 2001/08/01 22:03:33 markus Exp $"); #include "ssh.h" #include "xmalloc.h" @@ -470,8 +470,8 @@ parse_string: goto parse_string; case oSmartcardDevice: - intptr = &options->smartcard_device; - goto parse_int; + charptr = &options->smartcard_device; + goto parse_string; case oProxyCommand: charptr = &options->proxy_command; @@ -777,7 +777,7 @@ initialize_options(Options * options) options->log_level = (LogLevel) - 1; options->preferred_authentications = NULL; options->bind_address = NULL; - options->smartcard_device = -1; + options->smartcard_device = NULL; } /* |