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)
|
||||
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,
|
||||
|
Reference in New Issue
Block a user