]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: add extended key usage support.
authorAdam Langley <agl@golang.org>
Wed, 20 Jun 2012 20:18:56 +0000 (16:18 -0400)
committerAdam Langley <agl@golang.org>
Wed, 20 Jun 2012 20:18:56 +0000 (16:18 -0400)
commit7f689864d833d8cd0c59d9800f428d3d60d67ab4
treeded463a05752b76daf3fcefe82b0f855e3eec41e
parent77b1378c3e8b2669ae560c3a11c30e07f0a8cf8f
crypto/x509: add extended key usage support.

Flame motivated me to get around to adding extended key usage support
so that code signing certificates can't be used for TLS server
authentication and vice versa.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6304065
src/pkg/crypto/x509/verify.go
src/pkg/crypto/x509/verify_test.go
src/pkg/crypto/x509/x509.go