Skip to content

Commit

Permalink
Handle errors in generate_certs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Dec 18, 2024
1 parent ad87d47 commit 0436851
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 0436851

Please sign in to comment.