diff options
| author | adnano <[email protected]> | 2020-09-27 14:23:25 -0400 |
|---|---|---|
| committer | adnano <[email protected]> | 2020-09-27 14:23:25 -0400 |
| commit | 188c3457e6af0d6f09ba792d9385917ac695e665 (patch) | |
| tree | 66c21372d9ce2a33a5b74e5b06a9b818664c4128 /examples | |
| parent | Handle multiple DNS names (diff) | |
| download | go-gemini-188c3457e6af0d6f09ba792d9385917ac695e665.tar.xz go-gemini-188c3457e6af0d6f09ba792d9385917ac695e665.zip | |
Fix client example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/client/client.go b/examples/client/client.go index f61e3b3..d3e2156 100644 --- a/examples/client/client.go +++ b/examples/client/client.go @@ -49,7 +49,7 @@ func init() { // To generate a TLS key pair, run: // // go run -tags=example ../cert - var cert tls.Certificate + var err error cert, err = tls.LoadX509KeyPair("examples/client/localhost.crt", "examples/client/localhost.key") if err != nil { log.Fatal(err) |