mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
amend certificate removal message
This commit is contained in:
parent
6d9c463b60
commit
e98865a205
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user