]> www.average.org Git - pam_pcsc_cr.git/blobdiff - ykneo.c
make yubico slot #2 default
[pam_pcsc_cr.git] / ykneo.c
diff --git a/ykneo.c b/ykneo.c
index 5a153a545dd3af4c1d9131d0bb3138465394f029..9fbe87eb777477c110a0daa78f7394844336bccd 100644 (file)
--- 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 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)
 {
 
 static int ykn_parse_option(char *key, char *val)
 {