Commit e41e5d1e authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2991)
parent 691e302b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,4 +16,4 @@ setup("test_internal_chacha");
plan skip_all => "This test is unsupported in a shared library build on Windows"
plan skip_all => "This test is unsupported in a shared library build on Windows"
    if $^O eq 'MSWin32' && !disabled("shared");
    if $^O eq 'MSWin32' && !disabled("shared");


simple_test("test_internal_chacha", "chacha_internal_test", "mdc2");
simple_test("test_internal_chacha", "chacha_internal_test", "chacha");
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,4 +16,4 @@ setup("test_internal_poly1305");
plan skip_all => "This test is unsupported in a shared library build on Windows"
plan skip_all => "This test is unsupported in a shared library build on Windows"
    if $^O eq 'MSWin32' && !disabled("shared");
    if $^O eq 'MSWin32' && !disabled("shared");


simple_test("test_internal_poly1305", "poly1305_internal_test", "mdc2");
simple_test("test_internal_poly1305", "poly1305_internal_test", "poly1305");
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,4 +16,4 @@ setup("test_internal_siphash");
plan skip_all => "This test is unsupported in a shared library build on Windows"
plan skip_all => "This test is unsupported in a shared library build on Windows"
    if $^O eq 'MSWin32' && !disabled("shared");
    if $^O eq 'MSWin32' && !disabled("shared");


simple_test("test_internal_siphash", "siphash_internal_test", "mdc2");
simple_test("test_internal_siphash", "siphash_internal_test", "siphash");