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/+/169657Reviewed-by: Filippo Valsorda <filippo@golang.org>
Showing
Please register or sign in to comment