]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: explicitly require ExtKeyUsageClientAuth for client certs
authorMikkel Krautz <mikkel@krautz.dk>
Sat, 18 Aug 2012 22:50:33 +0000 (15:50 -0700)
committerAdam Langley <agl@golang.org>
Sat, 18 Aug 2012 22:50:33 +0000 (15:50 -0700)
commit67924c1b602c170239eec821c3aea67b6ab682c7
tree4dbca29a95f6fde96af7a5342bd9fee93e67af1e
parent58064a7cab9d39ff9b58c94e76e441dc238343b9
crypto/tls: explicitly require ExtKeyUsageClientAuth for client certs

If we aren't explicit about the KeyUsages, the verifier
will treat the certificate as a server certificate and require
it to have a ExtKeyUsageServerAuth key usage.

R=golang-dev
CC=golang-dev
https://golang.org/cl/6453148
src/pkg/crypto/tls/handshake_server.go