diff --git a/certificate.go b/certificate.go index 7c2e6f4..57d3e3d 100644 --- a/certificate.go +++ b/certificate.go @@ -98,7 +98,7 @@ type Certificate struct { // lazyInitialize ensures that only single goroutine can run lazy initialization of certificate concurrently. // Concurrent regeneration of certificate and private key by explicit call to Generate() is not supported. - lazyInitialize sync.Mutex + lazyInitialize sync.Mutex `json:"-" hash:"-"` } type KeyType uint