From 8de3ecacd479452856e1d1fe15fcbfca11ed1a70 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Wed, 10 Jan 2024 14:19:46 -0800 Subject: [PATCH] fix build --- patches/003-init-openssl-v2-backend.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/patches/003-init-openssl-v2-backend.patch b/patches/003-init-openssl-v2-backend.patch index 85aabaf220..6fe9cb9bbd 100644 --- a/patches/003-init-openssl-v2-backend.patch +++ b/patches/003-init-openssl-v2-backend.patch @@ -80,3 +80,17 @@ index 49bb6da477..69e29d3528 100644 +var NewGCMTLS13 = openssl.NewGCMTLS13 var NewGCMTLS = openssl.NewGCMTLS +diff --git a/src/crypto/internal/backend/nobackend.go b/src/crypto/internal/backend/nobackend.go +index ac90ba299f..bd5ac1bcfa 100644 +--- a/src/crypto/internal/backend/nobackend.go ++++ b/src/crypto/internal/backend/nobackend.go +@@ -66,6 +66,9 @@ func NewAESCipher(key []byte) (cipher.Block, error) { panic("boringcrypto: not a + type PublicKeyECDSA struct{ _ int } + type PrivateKeyECDSA struct{ _ int } + ++func NewGCMTLS13(c cipher.Block) (cipher.AEAD, error) { ++ panic("boringcrypto: not available") ++} + func NewGCMTLS(c cipher.Block) (cipher.AEAD, error) { + panic("boringcrypto: not available") + }