go/src/crypto
Joel Sing 20389553c7 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: Filippo Valsorda <filippo@golang.org>
2019-04-02 20:29:58 +00:00
..
aes crypto/aes: replace broken extenal link to FIPS 197 2019-02-04 18:22:49 +00:00
cipher crypto/cipher: fix duplicated arguments to bytes.Equal in test 2019-03-08 22:18:36 +00:00
des cmd/go: further reduce init work 2019-03-31 10:49:55 +00:00
dsa crypto: randomly read an extra byte of randomness in some places. 2018-06-07 15:09:25 +00:00
ecdsa crypto/ecdsa: fix NSA reference to Suite B implementer's guide to FIPS 186-3 2018-12-10 16:06:44 +00:00
elliptic internal/cpu: change s390x API to match x/sys/cpu 2019-02-28 13:46:45 +00:00
hmac crypto/hmac: rename CheckHMAC to ValidHMAC in package docs 2018-11-17 21:29:23 +00:00
internal crypto: panic on illegal input and output overlap 2018-06-19 21:06:50 +00:00
md5 crypto/md5: fix casting of d.nx in UnmarshalBinary 2019-01-07 18:51:15 +00:00
rand crypto: add AIX operating system 2018-10-10 14:55:17 +00:00
rc4 crypto/rc4: remove false guarantees from Reset docs and deprecate it 2019-02-22 17:05:17 +00:00
rsa all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
sha1 crypto/sha1: fix casting of d.nx in UnmarshalBinary 2019-01-07 18:50:57 +00:00
sha256 crypto/sha256: fix casting of d.nx in UnmarshalBinary 2019-01-03 22:51:08 +00:00
sha512 crypto/sha512: fix casting of d.nx in UnmarshalBinary 2019-01-04 05:11:30 +00:00
subtle crypto/subtle: normalize constant time ops docs 2019-01-22 19:40:30 +00:00
tls crypto/tls: simplify intermediate certificate handling 2019-04-02 20:29:58 +00:00
x509 crypto/x509: look for CAs at /etc/ssl/cert.pem for Alpine Linux 2019-03-26 22:10:49 +00:00
crypto.go
issue21104_test.go