From 26c0937711c0df19709140351a5526fa41c12bf0 Mon Sep 17 00:00:00 2001 From: Chad Retz Date: Fri, 21 Sep 2018 09:22:58 -0500 Subject: [PATCH] Backed out to OpenSSL 1.0.2p for issue #5 --- build.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.go b/build.go index 88128e2..9a5553e 100644 --- a/build.go +++ b/build.go @@ -105,7 +105,6 @@ func build(folder string) error { } if runtime.GOOS == "windows" { cmds[0] = append(cmds[0], "mingw64") - cmds[0][0] = "perl" cmds[0][1] = "./Configure" } else if runtime.GOOS == "darwin" { cmds[0] = append(cmds[0], "darwin64-x86_64-cc") @@ -154,9 +153,7 @@ func build(folder string) error { var env []string var torConf []string if runtime.GOOS == "windows" { - // This was only -lcrypt32 but the configure script for Tor puts that before -lssl and -lcrypto which - // we have learned, emperically, is required after those so we put all three here - env = []string{"LIBS=-lssl -lcrypto -lcrypt32 -lgdi32 -lws2_32"} + env = []string{"LIBS=-lcrypt32 -lgdi32"} } torConf = []string{"sh", "./configure", "--prefix=" + pwd + "/dist", "--disable-gcc-hardening", "--disable-system-torrc", "--disable-asciidoc",