Update Libp2p to v0.15.1 (#9960)

* fix deps

* tidy it all

* fix build

* remove tls patch

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Nishant Das
2021-12-02 02:09:34 +08:00
committed by GitHub
parent 6ffba5c769
commit 5e2229ce9d
7 changed files with 220 additions and 210 deletions

View File

@@ -1,16 +0,0 @@
diff --git a/crypto.go b/crypto.go
index e6d6d5f..f9eb389 100644
--- a/crypto.go
+++ b/crypto.go
@@ -217,10 +217,7 @@ func preferServerCipherSuites() bool {
var (
hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ
hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL
- // Keep in sync with crypto/aes/cipher_s390x.go.
- hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM)
-
- hasGCMAsm = hasGCMAsmAMD64 || hasGCMAsmARM64 || hasGCMAsmS390X
+ hasGCMAsm = hasGCMAsmAMD64 || hasGCMAsmARM64
)
return !hasGCMAsm
}