aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2014-10-27 22:43:01 +0100
committerGibheer <gibheer@gmail.com>2014-10-27 22:43:01 +0100
commitf96f57ae153b93c870823e44242974fd33911a86 (patch)
tree04d8e79d700005732ae016e9ca21538c935b8a5b /main.go
parentb78544da1c61a6cfc0d0e1e8e4c4dc94a6a03200 (diff)
the header for ecdsa must be EC
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 1b7a8f4..1adb991 100644
--- a/main.go
+++ b/main.go
@@ -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)
}