Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build for m1 #149

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
80f7894
feat: add Equal method to compare keys
dignifiedquire Jun 28, 2019
01a7c5e
move to libp2p
Stebalien Jun 29, 2019
0298788
Merge pull request #1 from dignifiedquire/feat/key-equals
Stebalien Jun 29, 2019
7e0f41e
feat: add freebsd support
Stebalien Jul 26, 2019
adf4e19
Merge pull request #2 from libp2p/fix/freebsd
Stebalien Jul 31, 2019
3d5df67
feat: openbsd support
Stebalien Aug 1, 2019
1934e45
readme: add motivation for forking.
raulk Aug 2, 2019
f996844
feat: add Size function to PublicKey
Stebalien Oct 21, 2019
f25c826
Merge pull request #3 from libp2p/feat/sig-size
Stebalien Oct 21, 2019
da4f08f
pass build flags on Solaris/Illumos
djdv Nov 13, 2019
418fabf
Merge pull request #4 from djdv/build/solaris
Stebalien Dec 7, 2019
fe1fe4c
add binding for OBJ_create
poonai May 10, 2020
5f2730c
minor license yaer change
poonai May 10, 2020
050e850
Merge pull request #5 from balajijinnah/balaji/create_obj_identifier
Stebalien May 10, 2020
09d7258
- add custom extension support
poonai May 23, 2020
df5f786
Merge branch 'master' of https://github.com/libp2p/go-openssl into ba…
poonai May 23, 2020
1fdf237
remove unwanted
poonai May 23, 2020
38a6bec
fix comments
poonai Jun 13, 2020
ab3d2c3
Merge pull request #6 from balajijinnah/balaji/tls
Stebalien Jun 15, 2020
f4030af
refactor: make Ed25519 keys less special cased
aschmahmann Jul 29, 2020
d9b6402
Merge pull request #7 from libp2p/refactor/ed25519-less-special
aschmahmann Jul 29, 2020
6d00a81
Enabled PEM files with CRLF line endings to be used (#10); made PEM f…
stephaneberle9 Oct 1, 2020
6f65c2c
Merge pull request #11 from stephaneberle9/master
aschmahmann Oct 16, 2020
597b898
Address `staticcheck` issues
masih Jul 19, 2021
219d074
Merge pull request #14 from libp2p/fix-lint-issues-pre-ci
Stebalien Jul 20, 2021
5bb7e0e
Update test RSA cert
Aug 14, 2021
f5ecaf4
test: don't try to marshal ed25519 to PEM
Stebalien Aug 27, 2021
d2721d9
test: handle closing quirks
Stebalien Aug 27, 2021
cfeec8e
Merge pull request #16 from libp2p/fix/tests
Stebalien Aug 27, 2021
8e95e0f
Merge pull request #15 from jbouwman/update-cert-md
marten-seemann Aug 27, 2021
ecfa88c
fix: unsafe pointer passing
Stebalien Aug 27, 2021
a04acfd
Merge pull request #18 from libp2p/fix/pointer-passing
Stebalien Aug 27, 2021
523a9c8
add version.json file
web3-bot Dec 10, 2021
55c3c00
bump go.mod to Go 1.16 and run go fix
web3-bot Dec 10, 2021
19eed5d
run gofmt -s
web3-bot Dec 10, 2021
ed6a5ab
add .github/workflows/automerge.yml
web3-bot Dec 10, 2021
f0bfe9c
add .github/workflows/go-test.yml
web3-bot Dec 10, 2021
0ce1691
add .github/workflows/go-check.yml
web3-bot Dec 10, 2021
4ce5b67
add .github/workflows/releaser.yml
web3-bot Dec 10, 2021
e7bb135
add .github/workflows/release-check.yml
web3-bot Dec 10, 2021
0e129fb
add .github/workflows/tagpush.yml
web3-bot Dec 10, 2021
77c1db3
update .github/workflows/go-test.yml
galargh Jan 31, 2022
b84a4bc
add go-test-setup action
galargh Jan 31, 2022
1cac8de
Merge pull request #20 from libp2p/web3-bot/sync-msys2
galargh Feb 1, 2022
0fadeb4
Merge pull request #17 from libp2p/web3-bot/sync
galargh Feb 1, 2022
b691872
Fix build for m1
nathan454 Feb 23, 2022
fa2d6fa
Add openssl.DialTimeout(network, addr, timeout, ctx, flags) call
oleg-jukovec Apr 15, 2022
2a66498
Add Ctx.SetMinProtoVersion and Ctx.SetMaxProtoVersion wrappers
oleg-jukovec Apr 15, 2022
8b7f1f9
bump go.mod to Go 1.17 and run go fix
web3-bot Jun 1, 2022
4219017
update .github/workflows/automerge.yml
web3-bot Jun 1, 2022
4939bdc
update .github/workflows/go-test.yml
web3-bot Jun 1, 2022
de18fa1
update .github/workflows/go-check.yml
web3-bot Jun 1, 2022
6a218fb
Merge pull request #27 from oleg-jukovec/SSL_CTX_set_min_max_proto_ve…
MarcoPolo Jun 3, 2022
e25825b
Merge pull request #26 from oleg-jukovec/openssl-dialtimeout-call
MarcoPolo Jun 3, 2022
54131cd
Update action.yml
galargh Jun 6, 2022
7de17e1
Update action.yml
galargh Jun 6, 2022
831acee
Update action.yml
galargh Jun 6, 2022
8ff2bb0
Update action.yml
galargh Jun 6, 2022
5389452
Merge pull request #30 from libp2p/galargh-patch-2
galargh Jun 6, 2022
0250c31
Merge remote-tracking branch 'origin/master' into web3-bot/sync
galargh Jun 6, 2022
3239254
chore: go fmt
galargh Jun 6, 2022
d09e3c5
Merge pull request #24 from libp2p/web3-bot/sync
galargh Jun 6, 2022
46d44e1
Fix build with OpenSSL 3.0 (#25)
oleg-jukovec Aug 18, 2022
6f749a6
release v0.1.0 (#31)
marten-seemann Aug 18, 2022
176c5cd
chore: Update .github/workflows/stale.yml [skip ci]
libp2p-mgmt-read-write[bot] Sep 19, 2022
00b6080
sync: update CI config files (#34)
web3-bot Sep 21, 2022
95285c1
Merge branch 'master' into fix-mac-m1-build
nathan454 Nov 30, 2022
b87a2b8
Update build.go
nathan454 Nov 30, 2022
a11554e
Update build_static.go
nathan454 Nov 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ package openssl

// #cgo linux windows pkg-config: libssl libcrypto
// #cgo linux CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -I/usr/local/opt/[email protected]/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin LDFLAGS: -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo darwin 386 CFLAGS: -I/usr/local/opt/[email protected]/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin 386 LDFLAGS: -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo darwin arm64 CFLAGS: -I/opt/homebrew/opt/[email protected]/include -Wno-deprecated-declarations
// #cgo darwin arm64 LDFLAGS: -L/opt/homebrew/opt/[email protected]/lib -lssl -lcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
import "C"
6 changes: 4 additions & 2 deletions build_static.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ package openssl

// #cgo linux windows pkg-config: --static libssl libcrypto
// #cgo linux CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -I/usr/local/opt/[email protected]/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin LDFLAGS: -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo darwin 386 CFLAGS: -I/usr/local/opt/[email protected]/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin 386 LDFLAGS: -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo darwin arm64 CFLAGS: -I/opt/homebrew/opt/[email protected]/include -Wno-deprecated-declarations
// #cgo darwin arm64 LDFLAGS: -L/opt/homebrew/opt/[email protected]/lib -lssl -lcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
import "C"