From: Eugene Crosser Date: Thu, 31 Oct 2013 22:12:37 +0000 (+0400) Subject: make yubico slot #2 default X-Git-Url: http://average.org/gitweb/?a=commitdiff_plain;h=5ed9f47355ad8e28f7597d1738854b6550a02a9f;hp=2b68fbf0a35815f8ba5e171d11f84b8f7c4d6aa1;p=pam_pcsc_cr.git make yubico slot #2 default --- 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) {