diff options
Diffstat (limited to 'tls/ocsp.go')
-rw-r--r-- | tls/ocsp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tls/ocsp.go b/tls/ocsp.go index 94f7f68..b80764f 100644 --- a/tls/ocsp.go +++ b/tls/ocsp.go | |||
@@ -125,6 +125,7 @@ func (m *OcspManager) Run(ctx context.Context, wg *sync.WaitGroup) error { | |||
125 | } | 125 | } |
126 | } | 126 | } |
127 | 127 | ||
128 | // TODO: TLS.GetCertificate for dyanmic certs for LE (cache these) | ||
128 | func (m *OcspManager) GetCertificate(h *tls.ClientHelloInfo) (*tls.Certificate, error) { | 129 | func (m *OcspManager) GetCertificate(h *tls.ClientHelloInfo) (*tls.Certificate, error) { |
129 | m.RLock() | 130 | m.RLock() |
130 | defer m.RUnlock() | 131 | defer m.RUnlock() |