unsigned char empty[256];
memset (empty, 0, sizeof(empty));
- memset (cfg, 0, sizeof(cfg));
+ memset (cfg, 0, sizeof(struct config_st));
cfg->tktFlags = TKTFLAG_APPEND_CR;
ykp_AES_key_from_passphrase(ykp, "test", "ABCDEF");
unsigned char empty[256];
memset (empty, 0, sizeof(empty));
- memset (cfg, 0, sizeof(cfg));
+ memset (cfg, 0, sizeof(struct config_st));
cfg->tktFlags = TKTFLAG_APPEND_CR | TKTFLAG_OATH_HOTP;
ykp_AES_key_from_passphrase(ykp, "test", "ABCDEF");