Browse Source

amend certificate removal message

Shelikhoo 4 years ago
parent
commit
e98865a205
1 changed files with 1 additions and 1 deletions
  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()
 				}
 			}