Correct comment in CertOrKeyExist

This commit is contained in:
Ted Yu 2019-08-25 19:30:19 -07:00 committed by Ted Yu
parent 518ff2a405
commit 55cc0e2957

View File

@ -198,7 +198,7 @@ func CertOrKeyExist(pkiPath, name string) bool {
_, certErr := os.Stat(certificatePath)
_, keyErr := os.Stat(privateKeyPath)
if os.IsNotExist(certErr) && os.IsNotExist(keyErr) {
// The cert or the key did not exist
// The cert and the key do not exist
return false
}