Commit 20389553 authored by Joel Sing's avatar Joel Sing Committed by Filippo Valsorda
Browse files

crypto/tls: simplify intermediate certificate handling

The certificates argument to verifyServerCertificate must contain
at least one certificate. Simplify the intermediate certificate
handling code accordingly.

Change-Id: I8292cdfb51f418e011d6d97f47d10b4e631aa932
Reviewed-on: https://go-review.googlesource.com/c/go/+/169657


Reviewed-by: default avatarFilippo Valsorda <filippo@golang.org>
parent 2d683807
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment