aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2022-12-13 23:20:24 -0500
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-22 04:32:17 +0000
commit5f6d57a48b364544fbfbbbef66e5613b1c17fe96 (patch)
tree164e9b1f9355ccf0dc9e7d3471bf883bb694a7ee /go.mod
parent90e3b6e68c0a9ff79de8cfb92fa81e6cd2a9d57d (diff)
downloadboringssl-5f6d57a48b364544fbfbbbef66e5613b1c17fe96.zip
boringssl-5f6d57a48b364544fbfbbbef66e5613b1c17fe96.tar.gz
boringssl-5f6d57a48b364544fbfbbbef66e5613b1c17fe96.tar.bz2
Fix some memory leaks in policy_cache_new.
If a certificate has policy constraints, but the certificate policies extension is either missing or unsuitable (in a way not caught by the parser), the policy constraints object is leaked. As part of this, add some basic tests for policy constraints. Change-Id: I4a2c618019d1f92b0f3b9ad4cf6e29d4926e3095 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/55752 Reviewed-by: Bob Beck <bbe@google.com> Commit-Queue: David Benjamin <davidben@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 5d8b372..5fd27f4 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.0.0-20210513164829-c07d793c2f9a
- golang.org/x/net v0.0.0-20210614182718-04defd469f4e
+ golang.org/x/crypto v0.4.0
+ golang.org/x/net v0.3.0
)
require (
- golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
- golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect
+ golang.org/x/sys v0.3.0 // indirect
+ golang.org/x/term v0.3.0 // indirect
)