aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/crypto/x509/sha2_windows_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/x509/sha2_windows_test.go')
-rw-r--r--libgo/go/crypto/x509/sha2_windows_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/libgo/go/crypto/x509/sha2_windows_test.go b/libgo/go/crypto/x509/sha2_windows_test.go
deleted file mode 100644
index 79dc685..0000000
--- a/libgo/go/crypto/x509/sha2_windows_test.go
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package x509
-
-import "syscall"
-
-func init() {
- v, err := syscall.GetVersion()
- if err != nil {
- return
- }
- if major := byte(v); major < 6 {
- // Windows XP SP2 and Windows 2003 do not support SHA2.
- // http://blogs.technet.com/b/pki/archive/2010/09/30/sha2-and-windows.aspx
- supportSHA2 = false
- }
-}