Index: README.txt ================================================================== --- README.txt +++ README.txt @@ -48,11 +48,11 @@ -------------- The standard TEA config, make and install process is supported. $ cd tcltls - $ ./configure --enable-64bit --enable-deterministic --with-builtin-dh-params-size=2048 + $ ./configure --enable-64bit $ make $ make test $ make install The supported configure options include all of the standard TEA configure script Index: win/README.txt ================================================================== --- win/README.txt +++ win/README.txt @@ -4,11 +4,11 @@ Properties: - 64 bit DLL - VisualStudio 2015 Note: Visual C++ 6 does not build OpenSSL (long long syntax error) -- Cygwin32 (temporary helper, please help to replace by tclsh) +- Git MinGW or MS WSL shell to convert tls.tcl into .h file - OpenSSL statically linked to TCLTLS DLL. Note: Dynamic linking also works but results in a DLL dependency on OPENSSL DLL's ----------------------------- @@ -36,18 +36,20 @@ (1d) Configure Open SSL 1.1.1 At Visual Studio x64 native prompt: + cd %SSLBUILD% set Path=%PATH%;C:\Program Files\NASM;C:\Strawberry\perl\bin perl ..\Configure VC-WIN64A no-shared no-filenames threads no-ssl2 no-ssl3 --api=1.1.0 --prefix="%SSLINSTALL%" --openssldir="%SSLCOMMON%" -DOPENSSL_NO_DEPRECATED # Not used options: no-asm no-zlib no-comp no-ui-console no-autoload-config (1e) Configure Open SSL 3.0+ At Visual Studio x64 native prompt: + cd %SSLBUILD% set Path=%PATH%;C:\Program Files\NASM;C:\Strawberry\perl\bin perl ..\Configure VC-WIN64A no-shared no-filenames threads no-ssl2 no-ssl3 --prefix="%SSLINSTALL%" --openssldir="%SSLCOMMON%" # Not used options: no-asm no-zlib no-comp no-ui-console no-autoload-config (1f) Build OpenSSL @@ -58,12 +60,14 @@ ----------------------------- 2) Build TclTLS - set BUILDDIR=\path\to\build\dir - set TCLINSTALL=\path\to\tcl\dir + set BUILDDIR=\path\to\build\tcltls + set TCLINSTALL=\path\to\tcl + set INSTALLDIR=%TCLINSTALL%\lib + set SSLINSTALL=\path\to\openssl\dir 2a) Unzip distribution to %BUILDDIR% 2b) Start BASH shell (MinGW62 Git shell) @@ -77,11 +81,11 @@ At Visual Studio x64 native prompt: cd %BUILDDIR%\win nmake -f makefile.vc TCLDIR=%TCLINSTALL% SSL_INSTALL_FOLDER=%SSLINSTALL% - nmake -f makefile.vc install TCLDIR=c:\test\tcl8610 INSTALLDIR=%TCLINSTALL% SSL_INSTALL_FOLDER=%SSLINSTALL% + nmake -f makefile.vc install TCLDIR=%TCLINSTALL% INSTALLDIR=%INSTALLDIR% SSL_INSTALL_FOLDER=%SSLINSTALL% ----------------------------- 3) Test