writer(str_key_value_separator,
strlen(str_key_value_separator),
userdata);
- if (key_bits_in_uid) {
- writer("n/a", 3, userdata);
- } else {
- writer(str_modhex_prefix,
- strlen(str_key_value_separator),
- userdata);
- yubikey_modhex_encode(buffer, (char *)cfg->ykcore_config.fixed, cfg->ykcore_config.fixedSize);
- writer(buffer, strlen(buffer), userdata);
- }
+ /* XXX print OATH-HOTP fixed differently based on oath-fixed-modhex etc. */
+ writer(str_modhex_prefix,
+ strlen(str_key_value_separator),
+ userdata);
+ yubikey_modhex_encode(buffer, (char *)cfg->ykcore_config.fixed, cfg->ykcore_config.fixedSize);
+ writer(buffer, strlen(buffer), userdata);
writer("\n", 1, userdata);
/* uid: */