aboutsummaryrefslogtreecommitdiff
path: root/api/next
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2022-11-09 14:04:10 -0800
committerGopher Robot <gobot@golang.org>2022-11-18 23:57:10 +0000
commit04d6aa6514617d5284f0657928eccb579a0f42e2 (patch)
treed64fc09a490c38433da28116e629ad7a765763a8 /api/next
parentc8244489cc4d4b8786b09ee9e84954c38cd52275 (diff)
downloadgo-04d6aa6514617d5284f0657928eccb579a0f42e2.tar.xz
crypto/x509: implement SetFallbackRoots
Adds a method which allows users to set a fallback certificate pool for usage during verification if the system certificate pool is empty. Updates #43958 Change-Id: I279dd2f753743bce19790f2ae29f063c89c9359d Reviewed-on: https://go-review.googlesource.com/c/go/+/449235 Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Roland Shoemaker <roland@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'api/next')
-rw-r--r--api/next/43958.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/43958.txt b/api/next/43958.txt
new file mode 100644
index 0000000000..18b0e59ae5
--- /dev/null
+++ b/api/next/43958.txt
@@ -0,0 +1 @@
+pkg crypto/x509, func SetFallbackRoots(*CertPool) #43958