From 885340ef8f27f81c626626798cdbcd63e2f992b6 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Mon, 23 Mar 2015 09:43:20 +0100 Subject: rename FlagCertificateData This makes it easier to distinguish between the csr data and cert data. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 42ecc92..ba8ee0a 100644 --- a/main.go +++ b/main.go @@ -110,7 +110,7 @@ func create_sign_request(cmd *Command, args []string) { crash_with_help(cmd, ErrorFlagInput, "Flags invalid: %s", err) } - csr, err := FlagCertificateData.ToCertificateRequest(FlagPrivateKey) + csr, err := FlagCertificateRequestData.ToCertificateRequest(FlagPrivateKey) if err != nil { crash_with_help(cmd, ErrorProgram, "Could not create certificate sign request: %s", err) } pem_block, err := csr.MarshalPem() if err != nil { crash_with_help(cmd, ErrorProgram, "Error when marshalling to pem: %s", err) } -- cgit v1.2.3-70-g09d2