Test atexit handlers
[openssl.git] / test / recipes / 15-test_dsa.t
index 22f971cebf1a15a85bb2a828ba5bfc42d98e372d..eb22ed876e7559bd33594118b26bad7a94bba33c 100644 (file)
@@ -1,4 +1,11 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
+# Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the Apache License 2.0 (the "License").  You may not use
+# this file except in compliance with the License.  You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
 
 use strict;
 use warnings;
@@ -14,7 +21,7 @@ plan tests => 6;
 require_ok(srctop_file('test','recipes','tconversion.pl'));
 
 ok(run(test(["dsatest"])), "running dsatest");
-ok(run(test(["dsatest", "-app2_1"])), "running dsatest -app2_1");
+ok(run(test(["dsa_no_digest_size_test"])), "running dsa_no_digest_size_test");
 
  SKIP: {
      skip "Skipping dsa conversion test", 3
@@ -27,7 +34,7 @@ ok(run(test(["dsatest", "-app2_1"])), "running dsatest -app2_1");
         tconversion("dsa", srctop_file("test","testdsa.pem"), "pkey");
      };
      subtest 'dsa conversions -- public key' => sub {
-        tconversion("dsa", srctop_file("test","testdsapub.pem"), "dsa",
-                    "-pubin", "-pubout");
+        tconversion("msb", srctop_file("test","testdsapub.pem"), "dsa",
+                        "-pubin", "-pubout");
      };
 }