git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3149 e7ae566f-a301-0410-adde-c780ea21d3b5
| ... | ... |
@@ -24,6 +24,10 @@ $Id$ |
| 24 | 24 |
user-defined scripts has been completely revamped in favor |
| 25 | 25 |
of execve() on unix and CreateProcess() on Windows. |
| 26 | 26 |
|
| 27 |
+* In Windows build, package a statically linked openssl.exe to work around |
|
| 28 |
+ observed instabilities in the dynamic build since the migration to |
|
| 29 |
+ OpenSSL 0.9.8h. |
|
| 30 |
+ |
|
| 27 | 31 |
2008.06.11 -- Version 2.1_rc8 |
| 28 | 32 |
|
| 29 | 33 |
* Added client authentication and packet filtering capability |
| ... | ... |
@@ -7,7 +7,7 @@ |
| 7 | 7 |
if [ -d "$OPENSSL_DIR" ] ; then |
| 8 | 8 |
mkdir -p $GENOUT/lib &>/dev/null |
| 9 | 9 |
mkdir -p $GENOUT/bin &>/dev/null |
| 10 |
- for f in libeay32.dll libssl32.dll openssl.exe ; do |
|
| 10 |
+ for f in libeay32.dll libssl32.dll out/openssl.exe ; do |
|
| 11 | 11 |
cp $OPENSSL_DIR/$f $GENOUT/lib |
| 12 | 12 |
if [ -z "$NO_STRIP" ]; then |
| 13 | 13 |
strip $GENOUT/lib/$f |
| ... | ... |
@@ -54,14 +54,3 @@ diff -urw tmp/openssl-0.9.8h/ms/mw.bat openssl-0.9.8h/ms/mw.bat |
| 54 | 54 |
if errorlevel 1 goto end |
| 55 | 55 |
|
| 56 | 56 |
@rem Generate the DLLs and input libraries |
| 57 |
-@@ -20,7 +26,9 @@ |
|
| 58 |
- dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def out/libssl.a out/libeay32.a |
|
| 59 |
- if errorlevel 1 goto end |
|
| 60 |
- |
|
| 61 |
-+@rem JY added openssl.exe linked to DLL |
|
| 62 |
-+gcc -o openssl tmp\verify.o tmp\asn1pars.o tmp\req.o tmp\dgst.o tmp\dh.o tmp\dhparam.o tmp\enc.o tmp\passwd.o tmp\gendh.o tmp\errstr.o tmp\ca.o tmp\pkcs7.o tmp\crl2p7.o tmp\crl.o tmp\rsa.o tmp\rsautl.o tmp\dsa.o tmp\dsaparam.o tmp\x509.o tmp\genrsa.o tmp\gendsa.o tmp\s_server.o tmp\s_client.o tmp\speed.o tmp\s_time.o tmp\apps.o tmp\s_cb.o tmp\s_socket.o tmp\app_rand.o tmp\version.o tmp\sess_id.o tmp\ciphers.o tmp\nseq.o tmp\pkcs12.o tmp\pkcs8.o tmp\spkac.o tmp\smime.o tmp\rand.o tmp\engine.o tmp\ocsp.o tmp\prime.o tmp\openssl.o -leay32 -lssl32 -L. -lwsock32 -lgdi32 |
|
| 63 |
-+ |
|
| 64 |
- echo Done compiling OpenSSL |
|
| 65 |
- |
|
| 66 |
- :end |
|
| 67 |
-- |