fix: comment about permission bits

This commit is contained in:
Khachatur Ashotyan 2023-02-03 13:40:33 +04:00
parent 5f81c3005f
commit fd17dcf387

View File

@ -58,7 +58,7 @@ func canReadFile(path string) bool {
}
// WriteCert writes the pem-encoded certificate data to certPath.
// The certificate file will be created with file mode 000.
// The certificate file will be created with file mode 0600.
// If the certificate file already exists, it will be overwritten.
// The parent directory of the certPath will be created as needed with file mode 0700.
func WriteCert(certPath string, data []byte) error {