Blame SOURCES/disable_static_tests_part1.patch

15d35e
diff --git a/src/crypto/internal/backend/nobackend.go b/src/crypto/internal/backend/nobackend.go
15d35e
index 5f258a2..5dbbc42 100644
15d35e
--- a/src/crypto/internal/backend/nobackend.go
15d35e
+++ b/src/crypto/internal/backend/nobackend.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl
15d35e
-// +build !linux !cgo android cmd_go_bootstrap msan no_openssl
15d35e
+//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || static
15d35e
+// +build !linux !cgo android cmd_go_bootstrap msan no_openssl static
15d35e
 
15d35e
 package backend
15d35e
 
15d35e
diff --git a/src/crypto/internal/boring/goboringcrypto.h b/src/crypto/internal/boring/goboringcrypto.h
15d35e
index d6d99b1..f2fe332 100644
15d35e
--- a/src/crypto/internal/boring/goboringcrypto.h
15d35e
+++ b/src/crypto/internal/boring/goboringcrypto.h
15d35e
@@ -1,4 +1,5 @@
15d35e
 // Copyright 2017 The Go Authors. All rights reserved.
15d35e
+// +build !static
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
diff --git a/src/crypto/internal/boring/syso/syso.go b/src/crypto/internal/boring/syso/syso.go
15d35e
index b338754..db5ea1e 100644
15d35e
--- a/src/crypto/internal/boring/syso/syso.go
15d35e
+++ b/src/crypto/internal/boring/syso/syso.go
15d35e
@@ -2,7 +2,7 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build boringcrypto
15d35e
+//go:build boringcrypto && !static
15d35e
 
15d35e
 // This package only exists with GOEXPERIMENT=boringcrypto.
15d35e
 // It provides the actual syso file.
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go
15d35e
index 079fc3c..e826d0b 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go
15d35e
index 0b61e79..94d0c98 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go
15d35e
index afec529..d822152 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h b/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h
15d35e
index 6d6a562..17cc314 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h
15d35e
@@ -1,4 +1,5 @@
15d35e
 // Copyright 2017 The Go Authors. All rights reserved.
15d35e
+// +build !static
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 // +build linux
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go
15d35e
index ae40b93..17bc075 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go
15d35e
index 6f00177..f466b18 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go
15d35e
index 7c0b5d6..262af07 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl
15d35e
-// +build !linux !cgo android cmd_go_bootstrap msan no_openssl
15d35e
+//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || static
15d35e
+// +build !linux !cgo android cmd_go_bootstrap msan no_openssl static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go
15d35e
index d49194d..ff15054 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c
15d35e
index 2349db1..57fbb04 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // +build linux
15d35e
+// +build !static
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
 // +build !cmd_go_bootstrap
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c
15d35e
index 4379019..5034c46 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // +build linux
15d35e
+// +build !static
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
 // +build !cmd_go_bootstrap
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c
15d35e
index 49d40a7..3b3dbf8 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // +build linux
15d35e
+// +build !static
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
 // +build !cmd_go_bootstrap
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c
15d35e
index 7eb645e..1c3225a 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // This file contains a port of the BoringSSL AEAD interface.
15d35e
+// +build !static
15d35e
 // +build linux
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c
15d35e
index df4ebe3..876393b 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // +build linux
15d35e
+// +build !static
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
 // +build !cmd_go_bootstrap
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c
15d35e
index 2eedd5b..04510d3 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // This file contains a backport of the EVP_md5_sha1 method.
15d35e
+// +build !static
15d35e
 // +build linux
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c
15d35e
index 362d9e5..bebafef 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // This file contains HMAC portability wrappers.
15d35e
+// +build !static
15d35e
 // +build linux
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c
15d35e
index 2824147..8bc1d85 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // This file contains RSA portability wrappers.
15d35e
+// +build !static
15d35e
 // +build linux
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c
15d35e
index 22bd865..b7aa26b 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c
15d35e
@@ -1,4 +1,5 @@
15d35e
 // +build linux
15d35e
+// +build !static
15d35e
 // +build !android
15d35e
 // +build !no_openssl
15d35e
 // +build !cmd_go_bootstrap
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go
15d35e
index b3668b8..dcdae70 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go
15d35e
index 915c840..8623d9d 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e
 
15d35e
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go
15d35e
index 0b55ced..57309c0 100644
15d35e
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go
15d35e
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go
15d35e
@@ -2,8 +2,8 @@
15d35e
 // Use of this source code is governed by a BSD-style
15d35e
 // license that can be found in the LICENSE file.
15d35e
 
15d35e
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
15d35e
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
15d35e
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
15d35e
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
15d35e
 
15d35e
 package openssl
15d35e