summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-06 21:35:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-08-06 21:35:51 +0000
commitf7db3bb64caf8d7822a18d6fd4c0480df7d0086d (patch)
tree3167ed1f115185df591dc1c28c8aa33476194cbb /readconf.c
parent3ab1dfa2a654b6764eaa121f7111e94c35175894 (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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/readconf.c b/readconf.c
index a4ae7333..c556b833 100644
--- a/readconf.c
+++ b/readconf.c
@@ -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;
}
/*