(hx509_certs_append): needs a hx509_lock, add one

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15789 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-27 19:07:07 +00:00
parent 9c1ee5d947
commit 15822411b5

View File

@@ -270,12 +270,12 @@ hx509_certs_merge(hx509_certs to, hx509_certs from)
}
int
hx509_certs_append(hx509_certs to, const char *name)
hx509_certs_append(hx509_certs to, hx509_lock lock, const char *name)
{
hx509_certs s;
int ret;
ret = hx509_certs_init(name, 0, NULL, &s);
ret = hx509_certs_init(name, 0, lock, &s);
if (ret)
return ret;
ret = hx509_certs_merge(to, s);