From de3412022b0347141c24263c6bcc82dbf8c8206f Mon Sep 17 00:00:00 2001 From: Gennady Utkin Date: Wed, 16 Oct 2024 19:32:42 -0500 Subject: [PATCH] Update csr.go to fix Name.OID parsing field tags --- csr/csr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csr/csr.go b/csr/csr.go index 52039326b..bfa4795d7 100644 --- a/csr/csr.go +++ b/csr/csr.go @@ -42,7 +42,7 @@ type Name struct { OU string `json:"OU,omitempty" yaml:"OU,omitempty"` // OrganisationalUnitName E string `json:"E,omitempty" yaml:"E,omitempty"` SerialNumber string `json:"SerialNumber,omitempty" yaml:"SerialNumber,omitempty"` - OID map[string]string `json:"OID,omitempty", yaml:"OID,omitempty"` + OID map[string]string `json:"OID,omitempty" yaml:"OID,omitempty"` } // A KeyRequest contains the algorithm and key size for a new private key.