diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-21 19:54:53 +0300 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-06 16:57:45 +0300 |
commit | 3e41ac35281827b59e55d51058cf6bb086c1f2b5 (patch) | |
tree | a8064c66c48200152a8c6f4ac45a7a93ccfec506 /test | |
parent | 7626fbf2ef70e02f47afe59b7dd7210e75371ed7 (diff) |
Fix no-ocsp
Misc fixes for no-ocsp
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rwxr-xr-x | test/recipes/70-test_sslcertstatus.t | 3 | ||||
-rw-r--r-- | test/recipes/80-test_ocsp.t | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/recipes/70-test_sslcertstatus.t b/test/recipes/70-test_sslcertstatus.t index d2bc280770..298f6da7fd 100755 --- a/test/recipes/70-test_sslcertstatus.t +++ b/test/recipes/70-test_sslcertstatus.t @@ -69,6 +69,9 @@ plan skip_all => "$test_name needs the dynamic engine feature enabled" plan skip_all => "$test_name needs the sock feature enabled" if disabled("sock"); +plan skip_all => "$test_name needs the ocsp feature enabled" + if disabled("ocsp"); + $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; my $proxy = TLSProxy::Proxy->new( \&certstatus_filter, diff --git a/test/recipes/80-test_ocsp.t b/test/recipes/80-test_ocsp.t index 43087f9fd1..ae4bf857f3 100644 --- a/test/recipes/80-test_ocsp.t +++ b/test/recipes/80-test_ocsp.t @@ -7,9 +7,13 @@ use POSIX; use File::Spec::Functions qw/devnull catfile/; use File::Copy; use OpenSSL::Test qw/:DEFAULT with pipe srctop_dir/; +use OpenSSL::Test::Utils; setup("test_ocsp"); +plan skip_all => "OCSP is not supported by this OpenSSL build" + if disabled("ocsp"); + my $ocspdir=srctop_dir("test", "ocsp-tests"); # 17 December 2012 so we don't get certificate expiry errors. my @check_time=("-attime", "1355875200"); |