From d51986d91eb90bd422fdee917a93ae8411353df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 27 Nov 2006 14:11:03 +0000 Subject: [PATCH] rewrite comment to make more sense git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19159 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hx509/crypto.c b/lib/hx509/crypto.c index 867bc44e9..1fcca0d74 100644 --- a/lib/hx509/crypto.c +++ b/lib/hx509/crypto.c @@ -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;