(hx509_certs_init): pass the right error code back
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17389 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -108,7 +108,7 @@ hx509_certs_init(hx509_context context,
|
||||
ret = (*ops->init)(context, c, &c->ops_data, flags, residue, lock);
|
||||
if (ret) {
|
||||
free(c);
|
||||
return ENOMEM;
|
||||
return ret;
|
||||
}
|
||||
|
||||
*certs = c;
|
||||
|
Reference in New Issue
Block a user