forked from kube-reporting/ghostunnel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows opting out of PKCS11 (to avoid needing libltdl), but with CGO still enabled so certstore is usable ~ CGO_ENABLED=1 go build -tags "nopkcs11 certstore" ~ otool -L ./ghostunnel ./ghostunnel: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1570.15.0) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 58286.251.4) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
- Loading branch information
1 parent
f2ffa57
commit 906c997
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build !cgo | ||
// +build !cgo nopkcs11 | ||
|
||
/*- | ||
* Copyright 2018 Square Inc. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build cgo | ||
// +build cgo,!nopkcs11 | ||
|
||
/*- | ||
* Copyright 2018 Square Inc. | ||
|