]> err.no Git - yubikey-personalization.old/commit
ykp_write_config: Config flags depend on context.
authorFredrik Thulin <fredrik@yubico.com>
Mon, 27 Dec 2010 16:31:13 +0000 (17:31 +0100)
committerFredrik Thulin <fredrik@yubico.com>
Mon, 27 Dec 2010 16:31:13 +0000 (17:31 +0100)
commit1a0a9772a6e33b498f51b1baca423e8b475f59cf
treed4329098c2dabea6fdc3e9e4af35def9a025c0ad
parentfc1775c837b28fe23df1f09be0d7ea7152351923
ykp_write_config: Config flags depend on context.

Some config flags share value (e.g. STRONG_PW2 and
OATH_FIXED_MODHEX2 - both 0x40). With this patch,
we show OATH_FIXED_MODHEX2 if tktFlag OATH_HOTP is
set, and STRONG_PW2 otherwise (if cfgFlag matches
0x40).
ykpers.c