]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: load a chain of certificates from a file.
authorAdam Langley <agl@golang.org>
Sat, 5 Feb 2011 18:54:25 +0000 (13:54 -0500)
committerAdam Langley <agl@golang.org>
Sat, 5 Feb 2011 18:54:25 +0000 (13:54 -0500)
commit5626bd9e383f692c4f52049a6a5ba4b7785fa6f9
treee92bd843b321b90248df821d44a9ef700665389e
parentc63a88072b581eb6f77087daced3bd1ed62d3ba3
crypto/tls: load a chain of certificates from a file.

Many recently issued certificates are chained: there's one or more
intermediate certificates between the host certificate and the root CA
certificate. This change causes the code to load any number of
certificates from the certificate file. This matches the behaviour of
common webservers, and the output of OpenSSL's command line tools.

R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/4119057
src/pkg/crypto/tls/tls.go