diff --git a/tlshook/tlshook.go b/tlshook/tlshook.go index 3922a01..68a2376 100644 --- a/tlshook/tlshook.go +++ b/tlshook/tlshook.go @@ -38,8 +38,9 @@ func DomainValueHookTLS(qname string, ncv *ncdomain.Value) (err error) { continue } - // TODO: check return value - certinject.InjectCert(derBytes) + if err := certinject.InjectCert(derBytes); err != nil { + log.Info("Failed to inject certificate: ", err) + } }