_hx509_set_cert_attribute changed signature
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17403 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -506,7 +506,8 @@ collect_cert(struct p11_module *p, struct p11_slot *slot,
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
_hx509_set_cert_attribute(cert,
|
_hx509_set_cert_attribute(ctx->context,
|
||||||
|
cert,
|
||||||
oid_id_pkcs_9_at_localKeyId(),
|
oid_id_pkcs_9_at_localKeyId(),
|
||||||
&localKeyId);
|
&localKeyId);
|
||||||
|
|
||||||
|
@@ -164,7 +164,7 @@ certBag_parser(hx509_context context,
|
|||||||
const heim_oid *oid = (*(oids[i]))();
|
const heim_oid *oid = (*(oids[i]))();
|
||||||
attr = find_attribute(attrs, oid);
|
attr = find_attribute(attrs, oid);
|
||||||
if (attr)
|
if (attr)
|
||||||
_hx509_set_cert_attribute(cert, oid, &attr->attrValues);
|
_hx509_set_cert_attribute(context, cert, oid, &attr->attrValues);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user