diff --git a/src/crypto/internal/backend/nobackend.go b/src/crypto/internal/backend/nobackend.go index 95c2cdc..88df624 100644 --- a/src/crypto/internal/backend/nobackend.go +++ b/src/crypto/internal/backend/nobackend.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || purego -// +build !linux !cgo android cmd_go_bootstrap msan no_openssl purego +//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || purego || static +// +build !linux !cgo android cmd_go_bootstrap msan no_openssl purego static package backend diff --git a/src/crypto/internal/backend/openssl.go b/src/crypto/internal/backend/openssl.go index 297c3cb..1a4fa10 100644 --- a/src/crypto/internal/backend/openssl.go +++ b/src/crypto/internal/backend/openssl.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan && !no_openssl && !purego -// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan,!no_openssl,!purego +//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan && !no_openssl && !purego && !static +// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan,!no_openssl,!purego,!static // Package openssl provides access to OpenSSLCrypto implementation functions. // Check the variable Enabled to find out whether OpenSSLCrypto is available. diff --git a/src/crypto/internal/boring/goboringcrypto.h b/src/crypto/internal/boring/goboringcrypto.h index 2b11049..dec1cb2 100644 --- a/src/crypto/internal/boring/goboringcrypto.h +++ b/src/crypto/internal/boring/goboringcrypto.h @@ -1,4 +1,5 @@ // Copyright 2017 The Go Authors. All rights reserved. +// +build !static // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. diff --git a/src/crypto/internal/boring/syso/syso.go b/src/crypto/internal/boring/syso/syso.go index b338754..db5ea1e 100644 --- a/src/crypto/internal/boring/syso/syso.go +++ b/src/crypto/internal/boring/syso/syso.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build boringcrypto +//go:build boringcrypto && !static // This package only exists with GOEXPERIMENT=boringcrypto. // It provides the actual syso file. diff --git a/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h b/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h index e488bf2..e776aa4 100644 --- a/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h +++ b/src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h @@ -1,4 +1,5 @@ // This header file describes the OpenSSL ABI as built for use in Go. +// +build !static #include // size_t