Skip to content

Commit

Permalink
go1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
derekparker committed Aug 16, 2023
1 parent a4cac33 commit 0984d51
Show file tree
Hide file tree
Showing 5 changed files with 424 additions and 323 deletions.
4 changes: 2 additions & 2 deletions config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"github.com/golang-fips/go": "go1.20-fips-release",
"github.com/golang-fips/go": "main",
"github.com/golang-fips/openssl-fips": "b175be2ccd46683a51cba60a9a2087b09593317d",
"github.com/golang/go": "go1.20.7"
"github.com/golang/go": "go1.21.0"
}
6 changes: 3 additions & 3 deletions patches/000-initial-setup.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1289,9 +1289,9 @@ index 63d86b9f3a..a8ee915041 100644
--- a/src/crypto/tls/handshake_client.go
+++ b/src/crypto/tls/handshake_client.go
@@ -127,7 +127,9 @@ func (c *Conn) makeClientHello() (*clientHelloMsg, *ecdh.PrivateKey, error) {

var key *ecdh.PrivateKey
if hello.supportedVersions[0] == VersionTLS13 {
if len(hello.supportedVersions) == 1 {
hello.cipherSuites = nil
}
- if hasAESGCMHardwareSupport {
+ if needFIPS() {
+ hello.cipherSuites = append(hello.cipherSuites, defaultFIPSCipherSuitesTLS13...)
Expand Down
Loading

0 comments on commit 0984d51

Please sign in to comment.