aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2023-08-14 10:44:29 -0700
committerRoland Shoemaker <roland@golang.org>2023-11-09 19:41:40 +0000
commit9f63534858552faa3928ea3ff4c4f12302cb22f9 (patch)
tree4f472b3a34b9fd02160952010d3c96bc4b80a014 /api
parentbd7d757e91181a0a4be26032b6d6d7fc79c85acc (diff)
downloadgo-9f63534858552faa3928ea3ff4c4f12302cb22f9.tar.gz
go-9f63534858552faa3928ea3ff4c4f12302cb22f9.zip
crypto/x509: implement AddCertWithConstraint
Adds the CertPool method AddCertWithConstraint, which allows adding a certificate to a pool with an arbitrary constraint which cannot be otherwise expressed in the certificate. Fixes #57178 Change-Id: Ic5b0a22a66aefa5ba5d8ed5ef11389996b59862b Reviewed-on: https://go-review.googlesource.com/c/go/+/519315 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Tatiana Bradley <tatianabradley@google.com> Run-TryBot: Roland Shoemaker <roland@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'api')
-rw-r--r--api/next/57178.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/57178.txt b/api/next/57178.txt
new file mode 100644
index 0000000000..3ce4d408eb
--- /dev/null
+++ b/api/next/57178.txt
@@ -0,0 +1 @@
+pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178