Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
derekparker committed Jan 10, 2024
1 parent 1f22b56 commit 8de3eca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/003-init-openssl-v2-backend.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 8de3eca

Please sign in to comment.