From: Richard Levitte Date: Mon, 20 Mar 2017 10:24:33 +0000 (+0100) Subject: Fix a few internals tests X-Git-Tag: OpenSSL_1_1_1-pre1~1982 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e41e5d1e73c878261560e4b122cf309a0ecb42b8;p=openssl Fix a few internals tests The internals tests for chacha, poly1305 and siphash were erroneously made conditional on if mdc2 was enabled. Corrected to depend on the correct algorithms being enabled instead. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/2991) --- diff --git a/test/recipes/03-test_internal_chacha.t b/test/recipes/03-test_internal_chacha.t index 58e21f7cd7..bac1328be0 100644 --- a/test/recipes/03-test_internal_chacha.t +++ b/test/recipes/03-test_internal_chacha.t @@ -16,4 +16,4 @@ setup("test_internal_chacha"); plan skip_all => "This test is unsupported in a shared library build on Windows" if $^O eq 'MSWin32' && !disabled("shared"); -simple_test("test_internal_chacha", "chacha_internal_test", "mdc2"); +simple_test("test_internal_chacha", "chacha_internal_test", "chacha"); diff --git a/test/recipes/03-test_internal_poly1305.t b/test/recipes/03-test_internal_poly1305.t index 2f5625d626..b5809c145f 100644 --- a/test/recipes/03-test_internal_poly1305.t +++ b/test/recipes/03-test_internal_poly1305.t @@ -16,4 +16,4 @@ setup("test_internal_poly1305"); plan skip_all => "This test is unsupported in a shared library build on Windows" if $^O eq 'MSWin32' && !disabled("shared"); -simple_test("test_internal_poly1305", "poly1305_internal_test", "mdc2"); +simple_test("test_internal_poly1305", "poly1305_internal_test", "poly1305"); diff --git a/test/recipes/03-test_internal_siphash.t b/test/recipes/03-test_internal_siphash.t index 1a8a61736f..1817e4e3dc 100644 --- a/test/recipes/03-test_internal_siphash.t +++ b/test/recipes/03-test_internal_siphash.t @@ -16,4 +16,4 @@ setup("test_internal_siphash"); plan skip_all => "This test is unsupported in a shared library build on Windows" if $^O eq 'MSWin32' && !disabled("shared"); -simple_test("test_internal_siphash", "siphash_internal_test", "mdc2"); +simple_test("test_internal_siphash", "siphash_internal_test", "siphash");