summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-08-22 16:04:47 +0100
committerMatt Caswell <matt@openssl.org>2016-08-22 16:39:28 +0100
commit1c55e372b9e16049461caa4802e801cc945018d0 (patch)
treeead54c33ad009f51ddaa9848b3f5bf27c06d0d1e /test
parent464d59a5bb5811f7671e2bd37f41d610606b829d (diff)
Fix no-des
The PKCS12 command line utility is not available if no-des is used. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/recipes/80-test_pkcs12.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/recipes/80-test_pkcs12.t b/test/recipes/80-test_pkcs12.t
index bb3e0c84ee..4a65268c02 100644
--- a/test/recipes/80-test_pkcs12.t
+++ b/test/recipes/80-test_pkcs12.t
@@ -1,11 +1,24 @@
+#! /usr/bin/env perl
+# Copyright 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;
use OpenSSL::Test qw/:DEFAULT srctop_file/;
+use OpenSSL::Test::Utils;
+
use Encode;
setup("test_pkcs12");
+plan skip_all => "The PKCS12 command line utility is not supported by this OpenSSL build"
+ if disabled("des");
+
plan tests => 1;
my $pass = "σύνθημα γνώρισμα";