1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
10 v
, err
:= syscall
.GetVersion()
14 if major
:= byte(v
); major
< 6 {
15 // Windows XP SP2 and Windows 2003 do not support SHA2.
16 // http://blogs.technet.com/b/pki/archive/2010/09/30/sha2-and-windows.aspx