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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user