(hx509_certs_merge): its ok to merge in the NULL set of certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20911 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -319,6 +319,8 @@ certs_merge_func(hx509_context context, void *ctx, hx509_cert c)
|
||||
int
|
||||
hx509_certs_merge(hx509_context context, hx509_certs to, hx509_certs from)
|
||||
{
|
||||
if (from == NULL)
|
||||
return 0;
|
||||
return hx509_certs_iter(context, from, certs_merge_func, to);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user