Revision: 9621 https://osdn.net/projects/ttssh2/scm/svn/commits/9621 Author: nmaya Date: 2021-12-24 00:55:22 +0900 (Fri, 24 Dec 2021) Log Message: ----------- OpenSSL 3 対応 OpenSSL 3 で deprecated になった関数では warning が出る。 Modified Paths: -------------- branches/openssl_3_0_1/libs/buildall.bat Added Paths: ----------- branches/openssl_3_0_1/libs/buildopenssl3.bat -------------- next part -------------- Modified: branches/openssl_3_0_1/libs/buildall.bat =================================================================== --- branches/openssl_3_0_1/libs/buildall.bat 2021-12-23 15:51:21 UTC (rev 9620) +++ branches/openssl_3_0_1/libs/buildall.bat 2021-12-23 15:55:22 UTC (rev 9621) @@ -10,7 +10,7 @@ exit /b 1 ) -CALL buildopenssl11.bat +CALL buildopenssl3.bat if ERRORLEVEL 1 ( echo "buildall.bat \x82\xF0\x8FI\x97\xB9\x82\xB5\x82܂\xB7" exit /b 1 Added: branches/openssl_3_0_1/libs/buildopenssl3.bat =================================================================== --- branches/openssl_3_0_1/libs/buildopenssl3.bat (rev 0) +++ branches/openssl_3_0_1/libs/buildopenssl3.bat 2021-12-23 15:55:22 UTC (rev 9621) @@ -0,0 +1,35 @@ +rem OpenSSL\x82̃r\x83\x8B\x83h + +cd openssl + + +rem nmmake clean \x82\xB7\x82\xE9\x82\xC6 ossl_static.pdb \x82\xCD *.pdb \x82Ȃ̂ō폜\x82\xB3\x82\xEA\x82Ă\xB5\x82܂\xA4\x81B +rem ossl_static.pdb \x82\xCD *.pdb \x82Ȃ̂\xC5 nmake clean \x82\xB7\x82\xE9\x82ƍ폜\x82\xB3\x82\xEA\x82Ă\xB5\x82܂\xA4\x81B +rem debug \x82̂Ƃ\xAB\x82̂ق\xA4\x82\xAA\x95K\x97v\x82\xBE\x82Ǝv\x82\xED\x82\xEA\x82\xE9\x82̂ŁA +rem release \x82\xF0\x90\xE6\x82Ƀr\x83\x8B\x83h\x82\xB5\x82\xC4 debug \x82\xCC ossl_static.pdb \x82\xAA\x8Ec\x82\xE9\x82悤\x82ɂ\xB7\x82\xE9\x81B + +if exist "out32\libcrypto.lib" goto build_end +perl Configure no-asm no-async no-shared no-capieng no-dso no-engine VC-WIN32 +perl -e "open(IN,'makefile');while(<IN>){s| /MD| /MT|;print $_;}close(IN);" > makefile.tmp +move /y makefile.tmp makefile +nmake -f makefile clean +nmake -f makefile build_libs +mkdir out32 +move /y libcrypto.lib out32\ +move /y ossl_static.pdb out32\ +:build_end + +if exist "out32.dbg\libcrypto.lib" goto build_dbg_end +perl Configure no-asm no-async no-shared no-capieng no-dso no-engine VC-WIN32 --debug +perl -e "open(IN,'makefile');while(<IN>){s| /MDd| /MTd|;print $_;}close(IN);" > makefile.tmp +move /y makefile.tmp makefile.dbg +nmake -f makefile.dbg clean +nmake -f makefile.dbg build_libs +mkdir out32.dbg +move /y libcrypto.lib out32.dbg\ +move /y ossl_static.pdb out32.dbg\ +:build_dbg_end + + +cd .. +exit /b 0