pass context to _hx509_create_signature

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17977 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-09-04 08:32:19 +00:00
parent 0195569201
commit 649f25934c

View File

@@ -702,7 +702,8 @@ add_to_req(hx509_context context, void *ptr, hx509_cert cert)
if (ret)
goto out;
ret = _hx509_create_signature(NULL,
ret = _hx509_create_signature(context,
NULL,
&one->reqCert.hashAlgorithm,
&c->tbsCertificate.issuer._save,
NULL,
@@ -714,7 +715,8 @@ add_to_req(hx509_context context, void *ptr, hx509_cert cert)
os.length =
p->tbsCertificate.subjectPublicKeyInfo.subjectPublicKey.length / 8;
ret = _hx509_create_signature(NULL,
ret = _hx509_create_signature(context,
NULL,
&one->reqCert.hashAlgorithm,
&os,
NULL,