attest: fix OSS-Fuzz build (#278)

This commit is contained in:
Brandon Weeks 2022-05-31 21:50:58 -07:00 committed by GitHub
parent f1ff544e51
commit 50e72a4743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under // License for the specific language governing permissions and limitations under
// the License. // the License.
//go:build (!localtest || !tpm12) && linux && cgo //go:build (!localtest || !tpm12) && cgo && !gofuzz
// +build !localtest !tpm12 // +build !localtest !tpm12
// +build linux
// +build cgo // +build cgo
// +build !gofuzz
// NOTE: simulator requires cgo, hence the build tag. // NOTE: simulator requires cgo, hence the build tag.

View File

@ -12,9 +12,10 @@
// License for the specific language governing permissions and limitations under // License for the specific language governing permissions and limitations under
// the License. // the License.
//go:build (!localtest || !tpm12) && cgo //go:build (!localtest || !tpm12) && cgo && !gofuzz
// +build !localtest !tpm12 // +build !localtest !tpm12
// +build cgo // +build cgo
// +build !gofuzz
// NOTE: simulator requires cgo, hence the build tag. // NOTE: simulator requires cgo, hence the build tag.

View File

@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under // License for the specific language governing permissions and limitations under
// the License. // the License.
//go:build (!localtest || !tpm12) && linux && cgo //go:build (!localtest || !tpm12) && cgo && !gofuzz
// +build !localtest !tpm12 // +build !localtest !tpm12
// +build linux
// +build cgo // +build cgo
// +build !gofuzz
package attest package attest