(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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user