Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using an implicit CGO tag means that the PKCS#11 build must succeed on musl (which it likely won't); move it to an explicit tag and let the build fail with a rather cryptic error if CGO is not specified but the hsm build tag is: ==> Building bao... # github.com/openbao/go-kms-wrapping/wrappers/pkcs11/v2 ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:55:22: undefined: pkcs11.Ctx ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:278:53: undefined: pkcs11.SessionHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:278:79: undefined: pkcs11.ObjectHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:309:54: undefined: pkcs11.SessionHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:309:80: undefined: pkcs11.ObjectHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:364:53: undefined: pkcs11.SessionHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:364:79: undefined: pkcs11.ObjectHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:381:54: undefined: pkcs11.SessionHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:381:80: undefined: pkcs11.ObjectHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:442:45: undefined: pkcs11.SessionHandle ../../../go/pkg/mod/github.com/openbao/go-kms-wrapping/wrappers/pkcs11/[email protected]/pkcs11_client.go:442:45: too many errors Signed-off-by: Alexander Scheel <[email protected]>
- Loading branch information