File fips.patch of Package go1.26

Index: go/src/crypto/internal/fips140/check/check.go
===================================================================
--- go.orig/src/crypto/internal/fips140/check/check.go
+++ go/src/crypto/internal/fips140/check/check.go
@@ -19,6 +19,7 @@ import (
 	"crypto/internal/fips140deps/byteorder"
 	"crypto/internal/fips140deps/godebug"
 	"io"
+	"os"
 	"unsafe"
 )
 
@@ -67,7 +68,6 @@ func init() {
 	h := hmac.New(sha256.New, make([]byte, 32))
 	w := io.Writer(h)
 
-	/*
 		// Uncomment for debugging.
 		// Commented (as opposed to a const bool flag)
 		// to avoid import "os" in default builds.
@@ -76,7 +76,6 @@ func init() {
 			panic(err)
 		}
 		w = io.MultiWriter(h, f)
-	*/
 
 	w.Write([]byte("go fips object v1\n"))
 
openSUSE Build Service is sponsored by