Skip to content

Commit

Permalink
undo reintroduction of loss of omitempty
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmiller committed Jan 4, 2025
1 parent e33ce9e commit 92b087b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/helper/keysutil/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ type Policy struct {
deleted uint32

Name string `json:"name"`
Key []byte `json:"key"` // DEPRECATED
KeySize int `json:"key_size"` // For algorithms with variable key sizes
Key []byte `json:"key,omitempty"` // DEPRECATED
KeySize int `json:"key_size,omitempty"` // For algorithms with variable key sizes
Keys keyEntryMap `json:"keys"`

// Derived keys MUST provide a context and the master underlying key is
Expand Down

0 comments on commit 92b087b

Please sign in to comment.