Skip to content

Commit

Permalink
Merge pull request #2198 from alexandear/fix-nilness
Browse files Browse the repository at this point in the history
Handle errors  in generate_certs
  • Loading branch information
jackc authored Dec 21, 2024
2 parents 9d851d7 + 0436851 commit 3a1593b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsetup/generate_certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ func main() {
panic(err)
}

writeEncryptedPrivateKey("pgx_sslcert.key", clientCertPrivKey, "certpw")
err = writeEncryptedPrivateKey("pgx_sslcert.key", clientCertPrivKey, "certpw")
if err != nil {
panic(err)
}

writeCertificate("pgx_sslcert.crt", clientBytes)
err = writeCertificate("pgx_sslcert.crt", clientBytes)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 3a1593b

Please sign in to comment.