Make CMS_uncompress() argument order consistent with other functions.
[openssl.git] / apps / cms.c
index b1ffb382ad1b37874a4b718091249eb905b824a1..e0c4c99485a3b4a6894774ad03f2fb77a0a1ecb6 100644 (file)
@@ -1028,7 +1028,7 @@ int MAIN(int argc, char **argv)
                }
        else if (operation == SMIME_UNCOMPRESS)
                {
-               if (!CMS_uncompress(cms, indata, out, flags))
+               if (!CMS_uncompress(cms, out, indata, flags))
                        goto end;
                }
        else if (operation == SMIME_DIGEST_VERIFY)