rewrite comment to make more sense

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19159 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-27 14:11:03 +00:00
parent 2f4615fcd2
commit d51986d91e

View File

@@ -2212,12 +2212,12 @@ hx509_crypto_available(hx509_context context,
der_heim_oid_cmp((*sig_algs[i]->key_oid)(), keytype))
continue;
/* found one, add that to the list */
ptr = realloc(*val, sizeof(**val) * (len + 1));
if (ptr == NULL)
goto out;
*val = ptr;
/* found one, use that */
ret = copy_AlgorithmIdentifier((*sig_algs[i]->sig_alg)(), &(*val)[len]);
if (ret)
goto out;