commit | 5f961cd492ac9d43fc33a8ef646bae79d113fd97 | [log] [tgz] |
---|---|---|
author | Alex Vaghin <ddos@google.com> | Wed Aug 10 16:35:40 2016 +0200 |
committer | Alex Vaghin <ddos@google.com> | Wed Aug 10 14:59:58 2016 +0000 |
tree | 6a143f116b943e5e2b55285e1e12de139d083372 | |
parent | e0d166c33c321d0ff863f459a5882096e334f508 [diff] |
acme: simplify TLS-SNI challenge cert There's no need to PEM-encode key/cert pair to create a tls.Certificate. All tls.X509KeyPair does is decode back to DER and verify that the key corresponds to the cert. But we already know it does. Change-Id: Icccdaf7fd86317147476fb03cbc71ee7b4a06edb Reviewed-on: https://go-review.googlesource.com/26694 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>