Fix a few internals tests
authorRichard Levitte <levitte@openssl.org>
Mon, 20 Mar 2017 10:24:33 +0000 (11:24 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 20 Mar 2017 10:24:33 +0000 (11:24 +0100)
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 <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2991)

test/recipes/03-test_internal_chacha.t
test/recipes/03-test_internal_poly1305.t
test/recipes/03-test_internal_siphash.t

index 58e21f7cd70c1cc354f34b30bb3926668abe582f..bac1328be0d0b90e6e92672df5278f51fa4b7a6c 100644 (file)
@@ -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");
index 2f5625d626b4423045faadc5f9c6973b12e5db48..b5809c145f53e2a6cbd404eb55587ebb9926d3a5 100644 (file)
@@ -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");
index 1a8a61736fce20e1a9b7c855b929c5d78dca662f..1817e4e3dca6469e51e7eb43ef396bf262202a06 100644 (file)
@@ -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");