mirror of
https://github.com/golang/go
synced 2024-09-29 21:24:30 -06:00
parent
29b9a328d2
commit
a3e29d2332
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user