Commit Graph

19 Commits

Author SHA1 Message Date
Dominic Della Valle
da4f08fb1e pass build flags on Solaris/Illumos 2019-11-13 11:56:52 -05:00
Steven Allen
3d5df67ba7 feat: openbsd support 2019-08-01 16:40:57 -07:00
Steven Allen
7e0f41e6a7 feat: add freebsd support 2019-07-26 16:41:04 -07:00
Jeff Wendling
2df7e68102 Revert "remove unsupported build flags on go1.9.4+"
This reverts commit 6eae62b008.
This reverts commit baa1f6250e.

Leaves in the removal of -w from the darwin LDFLAGS as it is still
problematic on 1.9.5 and 1.10.1.
2018-04-05 16:06:18 -06:00
Jeff
6eae62b008
remove unsupported build flags on go1.9.4+ 2018-02-07 13:17:05 -07:00
Jeff Wendling
4ea35d79e3 fix build on dev version of go on osx
cgo starts exiting when pkg-config doesn't work, so limit calling
pkg-config to linux and windows.

we also need to specify -lssl and -lcrypto in the linker flags
when we don't have pkg-config
2017-12-07 13:32:27 -07:00
Andrew Harding
8ef358132a convenient tag to support static linking 2017-09-28 15:57:55 -06:00
Jeff
ad5fdecfce ignore linker warnings on os x
this way if you don't have openssl@1.1 installed, it doesn't complain at you
2017-07-07 14:49:22 -06:00
Jeff Wendling
37dddbfb29 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
Jeff Wendling
0d0212094c remove useless build tags 2017-06-05 18:07:03 -06:00
Andrew Harding
b90544c9b0 openssl 1.1.x support
- created a uniform shim layer for the Go code to invoke that does the
  right thing depending on the version of openssl. functions that have
  yet to be moved can be done so as needed.

- fixed the incorrect use of X509_STORE_CTX_get_app_data in verify_cb to
  pull out the SSL object from the x509 store context, which causes
  crashes when the SSL object index happens to not be zero.

- fix engine not being passed to HMAC_Init_ex

- fix HMAC tests not checking for failures with NewHMAC
2017-06-05 18:07:03 -06:00
Jeff Wendling
fd0849ed03 add flags to work with homebrew openssl by default
Change-Id: I1599b4585850d81d4bc43dc067321af15ad3fafd
2017-03-02 15:14:35 -07:00
Jakob Unterwurzacher
a262611e6f Fix build with openssl 1.0.2d
On Fedora 23, the build fails like this:

	go build
	# github.com/spacemonkeygo/openssl
	/usr/bin/ld: $WORK/github.com/spacemonkeygo/openssl/_obj/cert.cgo2.o: undefined reference to symbol 'EVP_dss1@@libcrypto.so.10'
	/usr/lib64/libcrypto.so.10: error adding symbols: DSO missing from command line
	collect2: error: ld returned 1 exit status

Adding "libcrypto" to the linker flags fixes the issue.
2015-11-29 18:42:51 +01:00
Carlos Martín Nieto
2156e293c7 Hide deprecated declarations on OSX
We know that they've decided that OpenSSL is deprecated and the huge
list of warnings obscures any useful ones about the code we're actually
trying to build.
2014-12-12 09:05:38 +01:00
Andrew Harding
10dbddf4e6 use pkgconfig on windows too
Change-Id: I6596c63c7c3b4509ac01c57a37ed1279991da8dc
2014-08-15 17:26:29 -06:00
JT Olds
42391d89a5 add license
Change-Id: I4642fb9b97256ec6b3ffbe403272efc690bf1606
2014-05-09 15:38:13 -06:00
Jeff Wendling
751143ef9c space monkey internal commit export
[katamari commit: ce8d2d36f887ab400c77a4eed9e37d02ecc8968a]
2014-02-25 17:36:24 +00:00
Andrew Harding
2e4eff6035 space monkey internal commit export
[katamari commit: f3af94e720239e8b417b04d73f7460818b9aedf7]
2014-01-24 20:36:22 +00:00
Andrew Harding
9191dc4a2c space monkey internal commit export
[katamari commit: 77dd3ea8a00bdc73be495e9b06c491a85b4521ff]
2014-01-24 01:27:18 +00:00