Skip to content

Commit

Permalink
Update csr.go to fix Name.OID parsing field tags
Browse files Browse the repository at this point in the history
  • Loading branch information
utking authored Oct 17, 2024
1 parent 91b63b5 commit de34120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csr/csr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit de34120

Please sign in to comment.