aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2023-06-24 14:38:13 -0400
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-06-27 16:43:40 +0000
commit286ea215ec6669152feb71a28075ae69b957f4bf (patch)
tree2d4f0142c31a4d7f6fb94b52ba24898f270fb4c5 /go.mod
parent6f13380d27835e70ec7caf807da7a1f239b10da6 (diff)
downloadboringssl-286ea215ec6669152feb71a28075ae69b957f4bf.zip
boringssl-286ea215ec6669152feb71a28075ae69b957f4bf.tar.gz
boringssl-286ea215ec6669152feb71a28075ae69b957f4bf.tar.bz2
Replace byteBuilder and byteReader with cryptobyte
While I'm here, update x/crypto and x/net to their latest versions. byteReader is a straightforward port, except there doesn't seem to be a convenient way to read length-prefixed bytes without manually casting from cryptobyte.String to []byte, so I've done that. byteBuilder is a bit more involved because it's based on closures, but still a mechanical change. As part of this, I switched runner's ticket format to use u24 length prefixes instead of u32, because cryptobyte.String doesn't have u32 length prefixes. (Although, oddly, cryptobyte.Builder does.) Fixed: 374 Change-Id: If9bea0b41fe2b8bc48f040a667753b160da469bb Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/61186 Auto-Submit: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: Adam Langley <agl@google.com>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod8
1 files changed, 4 insertions, 4 deletions
diff --git a/go.mod b/go.mod
index 23038f0..a6a6724 100644
--- a/go.mod
+++ b/go.mod
@@ -3,11 +3,11 @@ module boringssl.googlesource.com/boringssl
go 1.19
require (
- golang.org/x/crypto v0.6.0
- golang.org/x/net v0.7.0
+ golang.org/x/crypto v0.10.0
+ golang.org/x/net v0.11.0
)
require (
- golang.org/x/sys v0.5.0 // indirect
- golang.org/x/term v0.5.0 // indirect
+ golang.org/x/sys v0.9.0 // indirect
+ golang.org/x/term v0.9.0 // indirect
)