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