use hx509_certs_iter_f

This commit is contained in:
Love Hornquist Astrand
2009-11-22 13:52:31 -08:00
parent 796a9f2ec7
commit b1eb65c5ba

View File

@@ -1491,7 +1491,7 @@ hx509_cms_create_signed(hx509_context context,
* signatures). * signatures).
*/ */
if ((flags & HX509_CMS_SIGNATURE_NO_SIGNER) == 0) { if ((flags & HX509_CMS_SIGNATURE_NO_SIGNER) == 0) {
ret = hx509_certs_iter(context, certs, sig_process, &sigctx); ret = hx509_certs_iter_f(context, certs, sig_process, &sigctx);
if (ret) if (ret)
goto out; goto out;
} }
@@ -1525,7 +1525,7 @@ hx509_cms_create_signed(hx509_context context,
goto out; goto out;
} }
ret = hx509_certs_iter(context, sigctx.certs, cert_process, &sigctx); ret = hx509_certs_iter_f(context, sigctx.certs, cert_process, &sigctx);
if (ret) if (ret)
goto out; goto out;
} }