Update _hx509_collector_alloc prototype.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20776 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-01 22:02:01 +00:00
parent 3782c5cc9e
commit 659e1cb47e

View File

@@ -542,12 +542,9 @@ file_init(hx509_context context,
return 0;
}
c = _hx509_collector_alloc(context, lock);
if (c == NULL) {
ret = ENOMEM;
hx509_set_error_string(context, 0, ret, "out of memory");
ret = _hx509_collector_alloc(context, lock, &c);
if (ret)
goto out;
}
for (p = f->fn; p != NULL; p = pnext) {
int found_data;