1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Fix minor typos and formatting directives

This small patch fixes a typo in a comment, and a missing formatting
directive; both were caught by static analysis tools (misspell and go
vet).
This commit is contained in:
Alberto Bertogli
2016-11-20 18:32:26 +00:00
parent 249831064f
commit f7cdbae8e3
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ func main() {
keyOut, err := os.OpenFile("privkey.pem", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)
if err != nil {
log.Fatalf("failed to open privkey.pem for writing:", err)
log.Fatalf("failed to open privkey.pem for writing: %s", err)
return
}
pem.Encode(keyOut, pemBlockForKey(priv))