[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Mon Jul 25 07:22:01 UTC 2016


The branch master has been updated
       via  49dadc1cb74dd1c83983900b5c4acb22c647af31 (commit)
      from  c1054bb4d2a2e730d8ecb25037904f7d9a7f137d (commit)


- Log -----------------------------------------------------------------
commit 49dadc1cb74dd1c83983900b5c4acb22c647af31
Author: Matt Caswell <matt at openssl.org>
Date:   Fri Jul 22 15:49:03 2016 +0100

    Fix no-ct
    
    Ensure that we don't build/run the ct fuzzing code if no-ct is used.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

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

Summary of changes:
 fuzz/build.info             | 12 ++++++++++--
 test/recipes/05-test_fuzz.t |  5 ++++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/fuzz/build.info b/fuzz/build.info
index addb12b..eade218 100644
--- a/fuzz/build.info
+++ b/fuzz/build.info
@@ -9,12 +9,16 @@
 -}
 
 IF[{- !$disabled{"fuzz-afl"} || !$disabled{"fuzz-libfuzzer"} -}]
-  PROGRAMS_NO_INST=asn1 asn1parse bignum bndiv conf crl ct server x509
+  PROGRAMS_NO_INST=asn1 asn1parse bignum bndiv conf crl server x509
 
   IF[{- !$disabled{"cms"} -}]
     PROGRAMS_NO_INST=cms
   ENDIF
 
+  IF[{- !$disabled{"ct"} -}]
+    PROGRAMS_NO_INST=ct
+  ENDIF
+
   SOURCE[asn1]=asn1.c driver.c
   INCLUDE[asn1]=../include {- $ex_inc -}
   DEPEND[asn1]=../libcrypto {- $ex_lib -}
@@ -57,12 +61,16 @@ IF[{- !$disabled{"fuzz-afl"} || !$disabled{"fuzz-libfuzzer"} -}]
 ENDIF
 
 IF[{- !$disabled{tests} -}]
-  PROGRAMS_NO_INST=asn1-test asn1parse-test bignum-test bndiv-test conf-test crl-test ct-test server-test x509-test
+  PROGRAMS_NO_INST=asn1-test asn1parse-test bignum-test bndiv-test conf-test crl-test server-test x509-test
 
   IF[{- !$disabled{"cms"} -}]
     PROGRAMS_NO_INST=cms-test
   ENDIF
 
+  IF[{- !$disabled{"ct"} -}]
+    PROGRAMS_NO_INST=ct-test
+  ENDIF
+
   SOURCE[asn1-test]=asn1.c test-corpus.c
   INCLUDE[asn1-test]=../include
   DEPEND[asn1-test]=../libcrypto
diff --git a/test/recipes/05-test_fuzz.t b/test/recipes/05-test_fuzz.t
index c992e19..d152925 100755
--- a/test/recipes/05-test_fuzz.t
+++ b/test/recipes/05-test_fuzz.t
@@ -15,10 +15,13 @@ use OpenSSL::Test::Utils;
 
 setup("test_fuzz");
 
-my @fuzzers = ('asn1', 'asn1parse', 'bignum', 'bndiv', 'conf', 'crl', 'ct', 'server', 'x509');
+my @fuzzers = ('asn1', 'asn1parse', 'bignum', 'bndiv', 'conf', 'crl', 'server', 'x509');
 if (!disabled("cms")) {
     push @fuzzers, 'cms';
 }
+if (!disabled("ct")) {
+    push @fuzzers, 'ct';
+}
 plan tests => scalar @fuzzers;
 
 foreach my $f (@fuzzers) {


More information about the openssl-commits mailing list