no-ec2m fixes
authorDr. Stephen Henson <steve@openssl.org>
Thu, 10 Aug 2017 15:36:37 +0000 (16:36 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 10 Aug 2017 19:27:42 +0000 (20:27 +0100)
Fix warning and don't use binary field certificate for ECDH CMS
key only test.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4134)

(cherry picked from commit ed5c7ea250657796517fef035e162b20eb8d3c7f)

test/recipes/80-test_cms.t

index b6264494f92af196536b122167bafcf1fec79c86..f038bea31d5b774ed55ef220ad1f814032c4a39e 100644 (file)
@@ -353,8 +353,8 @@ my @smime_cms_param_tests = (
       [ "-encrypt", "-in", $smcont,
        "-stream", "-out", "test.cms",
        catfile($smdir, "smec1.pem"),
-       catfile($smdir, "smec2.pem") ],
-      [ "-decrypt", "-inkey", catfile($smdir, "smec2.pem"),
+       catfile($smdir, "smec3.pem") ],
+      [ "-decrypt", "-inkey", catfile($smdir, "smec3.pem"),
        "-in", "test.cms", "-out", "smtst.txt" ]
     ],