summaryrefslogtreecommitdiff
path: root/crypto/cms
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-04-11 17:34:13 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-04-11 17:34:13 +0000
commit529d329ce10946137c096dc0e4e8965e04a1424f (patch)
treec809d0f64006825481717f30a458ce654e7cc56f /crypto/cms
parent47a6d388c71e5021a172520ef2fc04ffa9f706e7 (diff)
downloadopenssl-new-529d329ce10946137c096dc0e4e8965e04a1424f.tar.gz
Make CMS_uncompress() argument order consistent with other functions.
Diffstat (limited to 'crypto/cms')
-rw-r--r--crypto/cms/cms.h2
-rw-r--r--crypto/cms/cms_smime.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cms/cms.h b/crypto/cms/cms.h
index 9b32231d70..8b4404a91c 100644
--- a/crypto/cms/cms.h
+++ b/crypto/cms/cms.h
@@ -221,7 +221,7 @@ int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri,
int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
-int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
+int CMS_uncompress(CMS_ContentInfo *cms, BIO *out, BIO *dcont,
unsigned int flags);
CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags);
diff --git a/crypto/cms/cms_smime.c b/crypto/cms/cms_smime.c
index 6f44c84a5f..0910f05019 100644
--- a/crypto/cms/cms_smime.c
+++ b/crypto/cms/cms_smime.c
@@ -714,7 +714,7 @@ int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, unsigned int flags)
#ifdef ZLIB
-int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
+int CMS_uncompress(CMS_ContentInfo *cms, BIO *out, BIO *dcont,
unsigned int flags)
{
BIO *cont;