[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Sun Feb 14 22:16:59 UTC 2016


The branch master has been updated
       via  0756592b60d7d2bcb64f7ca01ec1430c43b1cf26 (commit)
      from  795e1231738ccebecfa031ecc4da75fcdd4ffc0a (commit)


- Log -----------------------------------------------------------------
commit 0756592b60d7d2bcb64f7ca01ec1430c43b1cf26
Author: Richard Levitte <levitte at openssl.org>
Date:   Sun Feb 14 22:06:49 2016 +0100

    Misc fixes in util/mk1mf.pl
    
    mk1mf was wondering about the options no-heartbeats and
    no-crypto-mdebug-backtrace, so we add option hooks them.  They only
    need to become OPENSSL_NO_ macros in opensslconf.h, so nothing
    additional needs to be done.
    
    Also, add "-DOPENSSL_PIC" when shared libraries are produced.
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>

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

Summary of changes:
 util/mk1mf.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index f29e50b..4b5acbe 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -310,6 +310,7 @@ $cflags.=" -DOPENSSL_NO_JPAKE"    if $no_jpake;
 $cflags.=" -DOPENSSL_NO_EC2M"    if $no_ec2m;
 $cflags.= " -DZLIB" if $zlib_opt;
 $cflags.= " -DZLIB_SHARED" if $zlib_opt == 2;
+$cflags.=" -DOPENSSL_PIC" if $shlib;
 
 if ($no_static_engine)
 	{
@@ -1405,6 +1406,7 @@ sub read_options
 		"no-gost" => \$no_gost,
 		"no-engine" => \$no_engine,
 		"no-egd" => 0,
+		"no-heartbeats" => 0,
 		"no-hw" => \$no_hw,
 		"no-async" => \$no_async,
 		"no-autoalginit" => \$no_autoalginit,
@@ -1436,6 +1438,7 @@ sub read_options
 		"no-deprecated" => 0,
 		"no-ocb" => 0,
 		"no-crypto-mdebug" => 0,
+		"no-crypto-mdebug-backtrace" => 0,
 		"fips" => \$fips,
 		"fipscanisterbuild" => [\$fips, \$fipscanisterbuild],
 		"fipscanisteronly" => [\$fips, \$fipscanisterbuild, \$fipscanisteronly],


More information about the openssl-commits mailing list