[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Fri Feb 17 14:36:13 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  1320d2501d0c9c6ad9ea0dc1f5115f4e6b3e0c3b (commit)
      from  949bd8e45eb4d2697d20c2249fa42cba545da2ac (commit)


- Log -----------------------------------------------------------------
commit 1320d2501d0c9c6ad9ea0dc1f5115f4e6b3e0c3b
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri Feb 17 14:59:44 2017 +0100

    Fix test_x509_store
    
    Don't run this test unless 'openssl rehash' works properly.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2664)
    (cherry picked from commit 73540f4729bb856ab066c6e7a57513a97e3ca36f)

-----------------------------------------------------------------------

Summary of changes:
 test/recipes/60-test_x509_store.t | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/recipes/60-test_x509_store.t b/test/recipes/60-test_x509_store.t
index b084ed9..041aa09 100644
--- a/test/recipes/60-test_x509_store.t
+++ b/test/recipes/60-test_x509_store.t
@@ -16,6 +16,11 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/;
 
 setup("test_x509_store");
 
+#If "openssl rehash -help" fails it's most likely because we're on a platform
+#that doesn't support the rehash command (e.g. Windows)
+plan skip_all => "test_rehash is not available on this platform"
+    unless run(app(["openssl", "rehash", "-help"]));
+
 # We use 'openssl verify' for these tests, as it contains everything
 # we need to conduct these tests.  The tests here are a subset of the
 # ones found in 25-test_verify.t


More information about the openssl-commits mailing list