From be9d3d0fbf88e0745bef920c79fc56809c1ed485 Mon Sep 17 00:00:00 2001 From: adnano Date: Mon, 28 Sep 2020 02:16:49 -0400 Subject: [PATCH] Update comments --- client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index db99406..7b85b33 100644 --- a/client.go +++ b/client.go @@ -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.