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:
@@ -702,7 +702,8 @@ add_to_req(hx509_context context, void *ptr, hx509_cert cert)
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
ret = _hx509_create_signature(NULL,
|
ret = _hx509_create_signature(context,
|
||||||
|
NULL,
|
||||||
&one->reqCert.hashAlgorithm,
|
&one->reqCert.hashAlgorithm,
|
||||||
&c->tbsCertificate.issuer._save,
|
&c->tbsCertificate.issuer._save,
|
||||||
NULL,
|
NULL,
|
||||||
@@ -714,7 +715,8 @@ add_to_req(hx509_context context, void *ptr, hx509_cert cert)
|
|||||||
os.length =
|
os.length =
|
||||||
p->tbsCertificate.subjectPublicKeyInfo.subjectPublicKey.length / 8;
|
p->tbsCertificate.subjectPublicKeyInfo.subjectPublicKey.length / 8;
|
||||||
|
|
||||||
ret = _hx509_create_signature(NULL,
|
ret = _hx509_create_signature(context,
|
||||||
|
NULL,
|
||||||
&one->reqCert.hashAlgorithm,
|
&one->reqCert.hashAlgorithm,
|
||||||
&os,
|
&os,
|
||||||
NULL,
|
NULL,
|
||||||
|
Reference in New Issue
Block a user