use hx509_certs_iter_f

This commit is contained in:
Love Hornquist Astrand
2009-11-22 13:53:41 -08:00
parent 6ed36cd0f2
commit 6e319e49e1

View File

@@ -619,7 +619,7 @@ add_certificate(const char *cert_file,
return CKR_GENERAL_ERROR; return CKR_GENERAL_ERROR;
} }
ret = hx509_certs_iter(context, certs, add_cert, &foo); ret = hx509_certs_iter_f(context, certs, add_cert, &foo);
hx509_certs_free(&certs); hx509_certs_free(&certs);
if (ret) { if (ret) {
st_logf("failed adding certs from file %s\n", cert_file); st_logf("failed adding certs from file %s\n", cert_file);