mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 16:52:17 +01:00
Bugfix getting option token_id_length.
This commit is contained in:
parent
336f794b42
commit
702ac98b21
@ -404,7 +404,7 @@ parse_cfg (int flags, int argc, const char **argv, struct cfg *cfg)
|
||||
cfg->user_attr = (char *) argv[i] + 10;
|
||||
if (strncmp (argv[i], "yubi_attr=", 10) == 0)
|
||||
cfg->yubi_attr = (char *) argv[i] + 10;
|
||||
if (strncmp (argv[i], "token_id_length=", 17) == 0)
|
||||
if (strncmp (argv[i], "token_id_length=", 16) == 0)
|
||||
sscanf (argv[i], "token_id_length=%d", &cfg->token_id_length);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user