/* --- @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
*
const algswitch *a = &kdx->algs, *aa = &kdy->algs;
return (group_samep(kdx->g, kdy->g) &&
+ a->bulk == aa->bulk &&
a->c == aa->c && a->b == aa->b &&
a->mgf == aa->mgf && a->h == aa->h &&
a->m == aa->m && a->tagsz == aa->tagsz);
G_DESTROY(kd->g, kd->kpub);
xfree(kd->tag);
G_DESTROYGROUP(kd->g);
+ DESTROY(kd);
}
/*----- That's all, folks -------------------------------------------------*/