1diff -Nur openssl-0.9.8za/src/ms/test.bat ./ms/test.bat 2--- openssl-0.9.8za/src/ms/test.bat 2014-06-05 01:09:08.000000000 -0700 3+++ ./ms/test.bat 2014-07-10 09:35:54.000000000 -0700 4@@ -15,10 +15,6 @@ 5 destest 6 if errorlevel 1 goto done 7 8-echo ideatest 9-ideatest 10-if errorlevel 1 goto done 11- 12 echo bftest 13 bftest 14 if errorlevel 1 goto done 15@@ -188,3 +184,4 @@ 16 echo problems..... 17 :end 18 PATH=%opath% 19+if errorlevel 1 exit /b 1 20diff -Nur openssl-0.9.8za/src/util/mk1mf.pl ./util/mk1mf.pl 21--- openssl-0.9.8za/src/util/mk1mf.pl 2014-07-10 10:06:10.000000000 -0700 22+++ ./util/mk1mf.pl 2014-07-09 18:39:16.000000000 -0700 23@@ -10,6 +10,8 @@ 24 $ssl_version=""; 25 $banner="\t\@echo Building OpenSSL"; 26 27+if ($ENV{"DEBUG_BUILD"}) { $debug = 1; } # APPLE-SPECIFIC hack to force debug build 28+ 29 my $no_static_engine = 0; 30 my $engines = ""; 31 local $zlib_opt = 0; # 0 = no zlib, 1 = static, 2 = dynamic 32@@ -647,6 +649,7 @@ 33 34 $rules=<<"EOF"; 35 all: banner \$(TMP_D) \$(BIN_D) \$(TEST_D) \$(LIB_D) \$(INCO_D) headers \$(FIPS_SHA1_EXE) lib exe $ex_build_targets 36+all_noexe: banner \$(TMP_D) \$(BIN_D) \$(TEST_D) \$(LIB_D) \$(INCO_D) headers \$(FIPS_SHA1_EXE) lib $ex_build_targets # APPLE-SPECIFIC - target to skip building openssl.exe to speed up build process 37 38 banner: 39 $banner 40diff -Nur openssl-0.9.8za/src/util/mkdef.pl ./util/mkdef.pl 41--- openssl-0.9.8za/src/util/mkdef.pl 2014-06-05 01:09:08.000000000 -0700 42+++ ./util/mkdef.pl 2014-07-09 18:39:15.000000000 -0700 43@@ -1259,6 +1259,7 @@ 44 $description = "\@#$http_vendor:$version#\@$what; DLL for library $name. Build for EMX -Zmtd"; 45 } 46 47+ if ($ENV{"DEBUG_BUILD"}) { $libname .= "_DEBUG"; } # APPLE-SPECIFIC hack to force debug build 48 print OUT <<"EOF"; 49 ; 50 ; Definition file for the DLL version of the $name library from OpenSSL 51