_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:
Love Hörnquist Åstrand
2006-05-01 15:27:18 +00:00
parent 568ccdeebe
commit 8f6bef250c
2 changed files with 3 additions and 2 deletions

View File

@@ -506,7 +506,8 @@ collect_cert(struct p11_module *p, struct p11_slot *slot,
if (ret)
return ret;
_hx509_set_cert_attribute(cert,
_hx509_set_cert_attribute(ctx->context,
cert,
oid_id_pkcs_9_at_localKeyId(),
&localKeyId);

View File

@@ -164,7 +164,7 @@ certBag_parser(hx509_context context,
const heim_oid *oid = (*(oids[i]))();
attr = find_attribute(attrs, oid);
if (attr)
_hx509_set_cert_attribute(cert, oid, &attr->attrValues);
_hx509_set_cert_attribute(context, cert, oid, &attr->attrValues);
}
}
return 0;