X-Git-Url: http://www.average.org/gitweb/?p=pam_pcsc_cr.git;a=blobdiff_plain;f=ykneo.c;fp=ykneo.c;h=9fbe87eb777477c110a0daa78f7394844336bccd;hp=5a153a545dd3af4c1d9131d0bb3138465394f029;hb=5ed9f47355ad8e28f7597d1738854b6550a02a9f;hpb=2b68fbf0a35815f8ba5e171d11f84b8f7c4d6aa1 diff --git a/ykneo.c b/ykneo.c index 5a153a5..9fbe87e 100644 --- a/ykneo.c +++ b/ykneo.c @@ -15,7 +15,8 @@ static const BYTE cr_cmd[] = {0x00, 0x01, 0xff, 0x00}; static BYTE cr_for_slot[3] = {0xff, 0x30, 0x38}; -static int slot; +static int slot = 2; /* second by default, people tend to leave */ + /* the first with factory settings. */ static int ykn_parse_option(char *key, char *val) {