diff --git a/patches/0003-Integrate-OpenSSL-crypto-module.patch b/patches/0003-Integrate-OpenSSL-crypto-module.patch index b7531d60574..152f5bbd23b 100644 --- a/patches/0003-Integrate-OpenSSL-crypto-module.patch +++ b/patches/0003-Integrate-OpenSSL-crypto-module.patch @@ -326,7 +326,7 @@ index 0000000000..4de8d404f8 +} diff --git a/src/crypto/internal/backend/openssl_linux.go b/src/crypto/internal/backend/openssl_linux.go new file mode 100644 -index 0000000000..c1656d6576 +index 0000000000..9fa156894a --- /dev/null +++ b/src/crypto/internal/backend/openssl_linux.go @@ -0,0 +1,145 @@ @@ -334,8 +334,8 @@ index 0000000000..c1656d6576 +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + -+//go:build linux && !android && !gocrypt && !cmd_go_bootstrap && !msan -+// +build linux,!android,!gocrypt,!cmd_go_bootstrap,!msan ++//go:build linux && cgo && !android && !gocrypt && !cmd_go_bootstrap && !msan ++// +build linux,cgo,!android,!gocrypt,!cmd_go_bootstrap,!msan + +// Package openssl provides access to OpenSSLCrypto implementation functions. +// Check the variable Enabled to find out whether OpenSSLCrypto is available.