Commit 2660c2a7 authored by Christian Himpel's avatar Christian Himpel Committed by Russ Cox

crypto/tls: fix build of certificate generation example

R=agl1, rsc
CC=golang-dev
https://golang.org/cl/3366041
parent 458ec560
......@@ -40,7 +40,7 @@ func main() {
SerialNumber: []byte{0},
Subject: x509.Name{
CommonName: *hostName,
Organization: "Acme Co",
Organization: []string{"Acme Co"},
},
NotBefore: time.SecondsToUTC(now - 300),
NotAfter: time.SecondsToUTC(now + 60*60*24*365), // valid for 1 year.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment