]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test_dsa: fix deprecation logic
authorPauli <paul.dale@oracle.com>
Thu, 6 Feb 2020 23:00:15 +0000 (09:00 +1000)
committerPauli <paul.dale@oracle.com>
Tue, 11 Feb 2020 22:52:41 +0000 (08:52 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10977)

test/recipes/15-test_dsa.t

index 90193fc1b7db7e2f59cc638a8cd15c3ada43114e..aa8c75a93a1a3720495406bbf433e96b4f0ad7b9 100644 (file)
@@ -20,8 +20,7 @@ plan skip_all => 'DSA is not supported in this build' if disabled('dsa');
 plan tests => 7;
 
 my $deprecated_dsa =
-    disabled('deprecated')
-    && (!defined config('api') || config('api') >= 30000);
+    disabled('deprecated') || !defined config('api') || config('api') >= 30000;
 
 require_ok(srctop_file('test','recipes','tconversion.pl'));