0
0
Fork 0

the header for ecdsa must be EC

This commit is contained in:
Gibheer 2014-10-27 22:43:01 +01:00
parent b78544da1c
commit f96f57ae15
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}