/* --- @algs_get@ --- *
*
* Arguments: @algswitch *a@ = where to put the algorithms
- * @dstr *e@ = where to write errror tokens
+ * @dstr *e@ = where to write error tokens
* @key_file *kf@ = key file
* @key *k@ = key to inspect
*
static int algs_get(algswitch *a, dstr *e, key_file *kf, key *k)
{
const char *p;
- const bulkcrypto *bulk;
+ const bulkops *bulk;
char *q, *qq;
dstr d = DSTR_INIT, dd = DSTR_INIT;
int rc = -1;
kd = CREATE(kdata);
if (kh->load(*ko, *d, kd, &t, &e)) {
a_warn("KEYMGMT", "%s-keyring", kh->kind,
- "%s", kh->kr, "key" "%s", t.buf,
+ "%s", kh->kr, "key", "%s", t.buf,
"*%s", e.buf, A_END);
goto fail_1;
}
G_DESTROY(kd->g, kd->kpub);
xfree(kd->tag);
G_DESTROYGROUP(kd->g);
+ DESTROY(kd);
}
/*----- That's all, folks -------------------------------------------------*/