diff options
author | Gibheer <gibheer@gmail.com> | 2014-10-27 22:43:01 +0100 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2014-10-27 22:43:01 +0100 |
commit | f96f57ae153b93c870823e44242974fd33911a86 (patch) | |
tree | 04d8e79d700005732ae016e9ca21538c935b8a5b | |
parent | b78544da1c61a6cfc0d0e1e8e4c4dc94a6a03200 (diff) |
the header for ecdsa must be EC
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ func create_private_key_ecdsa(flags CreateFlags) { if err != nil { crash_with_help(2, fmt.Sprintf("Problems marshalling the private key: %s", err)) } - block := &pem.Block{Type: "ECDSA PRIVATE KEY", Bytes: marshal} + block := &pem.Block{Type: "EC PRIVATE KEY", Bytes: marshal} pem.Encode(flags.output_stream, block) } |