diff options
| author | adnano <[email protected]> | 2020-09-28 02:16:49 -0400 |
|---|---|---|
| committer | adnano <[email protected]> | 2020-09-28 02:16:49 -0400 |
| commit | be9d3d0fbf88e0745bef920c79fc56809c1ed485 (patch) | |
| tree | b8b9f358b0b5cb45552923fb18597f0b88cc8dbb | |
| parent | Update comments (diff) | |
| download | go-gemini-be9d3d0fbf88e0745bef920c79fc56809c1ed485.tar.xz go-gemini-be9d3d0fbf88e0745bef920c79fc56809c1ed485.zip | |
Update comments
| -rw-r--r-- | client.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -185,7 +185,9 @@ type Client struct { // KnownHosts is a list of known hosts that the client trusts. KnownHosts KnownHosts - // CertificateStore contains all the certificates that the client has stored. + // CertificateStore maps hostnames to certificates. + // It is used to determine which certificate to use when the server requests + // a certificate. CertificateStore CertificateStore // GetCertificate, if not nil, will be called when a server requests a certificate. |