diff options
| -rw-r--r-- | doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ Clients can control when to trust certificates with TrustCertificate: Clients can create client certificates upon the request of a server: - client.CreateCertificate = func(hostname, path string) *tls.Certificate { + client.CreateCertificate = func(hostname, path string) (tls.Certificate, error) { return gemini.CreateCertificate(gemini.CertificateOptions{ Duration: time.Hour, }) |