From c5aa91aec75dc079553cbf28ffb5ce546d1fae27 Mon Sep 17 00:00:00 2001 From: David Fifield Date: Sat, 8 Feb 2014 07:46:18 +0000 Subject: [PATCH] Copy libeay32.dll and ssleay32.dll to PluggableTransports directory. M2Crypto needs to be able to dynamically link with the OpenSSL DLLs. The DLLs are present one directory up (in the same directory as tor.exe), but that directory isn't in the DLL search path. Putting the DLLs in the same directory as the executables is enough to put them on the search path. --- gitian/descriptors/windows/gitian-bundle.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitian/descriptors/windows/gitian-bundle.yml b/gitian/descriptors/windows/gitian-bundle.yml index f8e6d1b..bcc60ec 100644 --- a/gitian/descriptors/windows/gitian-bundle.yml +++ b/gitian/descriptors/windows/gitian-bundle.yml @@ -108,6 +108,10 @@ script: | if [ $BUILD_PT_BUNDLES ]; then unzip ~/build/pluggable-transports-win32-gbuilt.zip cat ~/build/torrc-defaults-appendix-windows >> Data/Tor/torrc-defaults + # py2exe-built programs using M2Crypto need libeay32.dll and ssleay32.dll + # to be in their DLL search path (which includes the directory containing + # the program). + cp Tor/libeay32.dll Tor/ssleay32.dll Tor/PluggableTransports fi cd .. # -- 1.7.9.5