Skip to content

Commit

Permalink
crypto: delete unnecessary line of return
Browse files Browse the repository at this point in the history
  • Loading branch information
cuiweixie committed Aug 3, 2022
1 parent 29b9a32 commit a3e29d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/crypto/tls/generate_cert.go
Expand Up @@ -156,7 +156,6 @@ func main() {
keyOut, err := os.OpenFile("key.pem", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)
if err != nil {
log.Fatalf("Failed to open key.pem for writing: %v", err)
return
}
privBytes, err := x509.MarshalPKCS8PrivateKey(priv)
if err != nil {
Expand Down

0 comments on commit a3e29d2

Please sign in to comment.