FiloSottile / Heartbleed

A checker (site and tool) for CVE-2014-0160
http://filippo.io/Heartbleed
MIT License
2.31k stars 465 forks source link

Fix compilation error on OSX 10.9.2 running basic cmdline tools #81

Closed rtshanks closed 10 years ago

rtshanks commented 10 years ago

go version go1.2.1 darwin/amd64

Robs-MacBook-Air:~ rtshanks$ go get github.com/FiloSottile/Heartbleed src/go/src/github.com/FiloSottile/Heartbleed/bleed.go:59: syntax error: unexpected semicolon or newline before else src/go/src/github.com/FiloSottile/Heartbleed/bleed.go:63: syntax error: unexpected else, expecting semicolon or newline src/go/src/github.com/FiloSottile/Heartbleed/bleed.go:65: non-declaration statement outside function body src/go/src/github.com/FiloSottile/Heartbleed/bleed.go:66: non-declaration statement outside function body src/go/src/github.com/FiloSottile/Heartbleed/bleed.go:67: syntax error: unexpected }

FiloSottile commented 10 years ago

Thanks, this was apparently introduced by a PR I did not test, sorry all.