From f96f57ae153b93c870823e44242974fd33911a86 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Mon, 27 Oct 2014 22:43:01 +0100 Subject: the header for ecdsa must be EC --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3-70-g09d2