TEST: Fix test/recipes/15-test_rsa.t
authorRichard Levitte <levitte@openssl.org>
Wed, 9 Dec 2020 10:30:10 +0000 (11:30 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Dec 2020 13:27:23 +0000 (14:27 +0100)
Perl strings should be compared with 'eq', not '=='.
This only generates a perl warning, so wasn't immediately noticed.

Also, remove the check of disabled 'dsa'.  That never made reak sense.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13645)

test/recipes/15-test_rsa.t

index 7e554579d8be4b045ec7ae5789e9a854d771c010..abcdb0490c9d85f4c271454f56ae12814d32ae25 100644 (file)
@@ -49,7 +49,7 @@ sub run_rsa_tests {
 
      SKIP: {
          skip "Skipping msblob conversion test", 1
-            if disabled($cmd) || disabled("dsa") || $cmd == 'pkey';
+            if disabled($cmd) || $cmd eq 'pkey';
 
          subtest "$cmd conversions -- public key" => sub {
             tconversion( -type => 'msb', -prefix => "$cmd-msb-pub",