zmap / zcrypto

Liberal Go TLS + X.509 Library for Research
Other
134 stars 83 forks source link

Adding CertsOnly field in Config.Clone method #346

Closed Mzack9999 closed 1 year ago

Mzack9999 commented 1 year ago

Description

This PR adds the CertsOnly field to the cloned struct in the Config.Clone() method in tls/common.go. This fixes cases where multiple copies with customized settings of tls.Config are used.