X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/b87bffcb20069b174b2c03721466abdaafd780f2..0d9974ba1c7a707352f9d50f592b39b095de534d:/server/keymgmt.c diff --git a/server/keymgmt.c b/server/keymgmt.c index 17325dce..e31e45da 100644 --- a/server/keymgmt.c +++ b/server/keymgmt.c @@ -166,7 +166,7 @@ static const kgops *kgtab[] = { /* --- @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 * @@ -374,6 +374,7 @@ int km_samealgsp(const kdata *kdx, const kdata *kdy) 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);