Add some session API tests
[openssl.git] / test / recipes / 80-test_cms.t
index 21926d430ea2f626727c9a354a381ccfe21b3425..40fcf7cc5346d8579b8fb6d2b4cc5f4f2897f93e 100644 (file)
@@ -1,4 +1,11 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
+# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the OpenSSL license (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;
@@ -11,6 +18,9 @@ use OpenSSL::Test::Utils;
 
 setup("test_cms");
 
+plan skip_all => "CMS is not supported by this OpenSSL build"
+    if disabled("cms");
+
 my $smdir    = srctop_dir("test", "smime-certs");
 my $smcont   = srctop_file("test", "smcont.txt");
 my ($no_des, $no_dh, $no_dsa, $no_ec, $no_ec2m, $no_rc2, $no_zlib)