go/src/pkg/crypto
Adam Langley ecc04b8927 crypto/tls: allow certificates and key to be in either order.
X509KeyPair wasn't really supposed to allow the certificate and
key to be in the same file, but it did work if you put the key
first. Since some HTTPS servers support loading keys and certs
like this, this change makes it work in either order.

Fixes #3986.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6499103
2012-09-13 11:00:16 -04:00
..
aes crypto/aes: fix comment 2012-05-07 16:45:34 -04:00
cipher crypto/...: more fixes for bug 2841 2012-02-13 12:38:45 -05:00
des crypto/...: more fixes for bug 2841 2012-02-13 12:38:45 -05:00
dsa crypto/dsa: add missing period in package comment 2012-02-17 14:48:44 -08:00
ecdsa crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ 2012-08-03 15:42:14 -04:00
elliptic crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ 2012-08-03 15:42:14 -04:00
hmac build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
md5 crypto: housekeeping 2012-05-29 12:45:40 -04:00
rand crypto/rand: typo fix from a69e30463bf4 2012-09-09 20:11:58 -04:00
rc4 build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
rsa crypto/rsa: reject PublicKey.E if it won't fit in a 32-bit int 2012-09-13 10:47:01 -04:00
sha1 crypto: housekeeping 2012-05-29 12:45:40 -04:00
sha256 crypto: housekeeping 2012-05-29 12:45:40 -04:00
sha512 crypto: housekeeping 2012-05-29 12:45:40 -04:00
subtle build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
tls crypto/tls: allow certificates and key to be in either order. 2012-09-13 11:00:16 -04:00
x509 syscall: return EINVAL when string arguments have NUL characters 2012-08-05 17:24:32 -04:00
crypto.go crypto/...: changes to address some of bug 2841. 2012-02-03 15:08:53 -05:00