1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:24:47 -07:00
go/src/crypto
Adam Langley dc3a92edaa crypto/x509: matching any requested EKU should be sufficient.
The documentation was unclear here and I misremembered the behaviour and
changed it in 1.10: it used to be that matching any EKU was enough but
1.10 requires that all EKUs match.

Restore 1.9 behaviour and clarify the documentation to make it official.

Fixes #24162.

Change-Id: Ic9466cd0799cb27ec3a3a7e6c96f10c2aacc7020
Reviewed-on: https://go-review.googlesource.com/97720
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2018-03-26 19:42:08 +00:00
..
aes crypto/aes: optimize arm64 AES implementation 2018-03-06 00:44:29 +00:00
cipher crypto/cipher: add NewGCMWithNonceAndTagSize for custom tag sizes. 2018-02-14 15:32:26 +00:00
des crypto: revise wording about cryptographically broken algorithms 2017-05-04 12:31:18 +00:00
dsa all: fix article typos 2017-09-15 02:39:16 +00:00
ecdsa crypto/elliptic: reduce allocations on amd64 2017-11-30 21:01:10 +00:00
elliptic crypto: remove hand encoded amd64 instructions 2018-03-01 19:20:53 +00:00
hmac crypto, hash: document marshal/unmarshal implementation 2017-11-15 00:06:24 +00:00
internal/cipherhw crypto/{cipher,tls,internal/cryptohw}: prioritise AES-GCM when hardware support is present. 2016-11-07 20:01:18 +00:00
md5 all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
rand crypto/rand: batch large calls to linux getrandom 2017-08-09 19:29:14 +00:00
rc4 crypto/rc4: optimize generic implementation slightly 2018-03-23 15:47:48 +00:00
rsa crypto/rsa: improve error message for keys too short for PSS 2018-02-14 15:31:22 +00:00
sha1 hash: add MarshalBinary/UnmarshalBinary round trip + golden test for all implementations 2017-12-06 07:45:46 +00:00
sha256 crypto/sha256: speed-up for very small blocks 2018-02-20 23:39:10 +00:00
sha512 crypto/sha512: speed-up for very small blocks 2018-02-20 23:44:12 +00:00
subtle crypto/subtle: simplify and speed up constant-time primitives 2017-11-10 03:47:57 +00:00
tls crypto/tls: support keying material export 2018-03-22 18:48:49 +00:00
x509 crypto/x509: matching any requested EKU should be sufficient. 2018-03-26 19:42:08 +00:00
crypto.go crypto: add BLAKE2b and BLAKE2s hash constants 2017-03-01 19:26:16 +00:00
issue21104_test.go crypto/{aes,cipher,rc4}: fix out of bounds write in stream ciphers 2017-08-09 04:17:51 +00:00