Преглед изворни кода

amend certificate removal message

Shelikhoo пре 4 година
родитељ
комит
e98865a205
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      transport/internet/tls/config.go

+ 1 - 1
transport/internet/tls/config.go

@@ -122,7 +122,7 @@ func getGetCertificateFunc(c *tls.Config, ca []*Certificate) func(hello *tls.Cli
 					newCerts = append(newCerts, cert)
 				} else if cert.Leaf != nil {
 					expTime := cert.Leaf.NotAfter.Format(time.RFC3339)
-					newError("old certificate for ", domain, " (expire on ", expTime, ") revoked").AtInfo().WriteToLog()
+					newError("old certificate for ", domain, " (expire on ", expTime, ") discard").AtInfo().WriteToLog()
 				}
 			}