Avoid shadowing.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19835 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-11 09:28:42 +00:00
parent aa188989ed
commit 18c21c9cc4

View File

@@ -1036,7 +1036,7 @@ hx509_cms_create_signed_1(hx509_context context,
} }
{ {
heim_octet_string data; heim_octet_string sig;
ret = copy_AlgorithmIdentifier(&digest, &signer_info->digestAlgorithm); ret = copy_AlgorithmIdentifier(&digest, &signer_info->digestAlgorithm);
if (ret) { if (ret) {
@@ -1049,7 +1049,7 @@ hx509_cms_create_signed_1(hx509_context context,
&digest, &digest,
sd.encapContentInfo.eContent, sd.encapContentInfo.eContent,
NULL, NULL,
&data); &sig);
if (ret) { if (ret) {
hx509_clear_error_string(context); hx509_clear_error_string(context);
goto out; goto out;
@@ -1058,10 +1058,10 @@ hx509_cms_create_signed_1(hx509_context context,
ASN1_MALLOC_ENCODE(MessageDigest, ASN1_MALLOC_ENCODE(MessageDigest,
buf.data, buf.data,
buf.length, buf.length,
&data, &sig,
&size, &size,
ret); ret);
der_free_octet_string(&data); der_free_octet_string(&sig);
if (ret) { if (ret) {
hx509_clear_error_string(context); hx509_clear_error_string(context);
goto out; goto out;