Skip to content

Commit

Permalink
Backed out to OpenSSL 1.0.2p for issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Sep 21, 2018
1 parent 9af8423 commit 26c0937
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 26c0937

Please sign in to comment.