From 16d2143b3d74b77af8a309b331e1bc46a445f495 Mon Sep 17 00:00:00 2001 From: Petzys <87223648+Petzys@users.noreply.github.com> Date: Fri, 17 May 2024 15:44:01 +0200 Subject: [PATCH] Fix(1.6): Added missing omitempty in NistQuantumSecurityLevel Signed-off-by: Petzys <87223648+Petzys@users.noreply.github.com> --- cyclonedx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyclonedx.go b/cyclonedx.go index 64be905..2685da7 100644 --- a/cyclonedx.go +++ b/cyclonedx.go @@ -310,7 +310,7 @@ type CryptoAlgorithmProperties struct { Padding CryptoPadding `json:"padding,omitempty" xml:"padding,omitempty"` CryptoFunctions *[]CryptoFunction `json:"cryptoFunctions,omitempty" xml:"cryptoFunctions>cryptoFunction,omitempty"` ClassicalSecurityLevel *int `json:"classicalSecurityLevel,omitempty" xml:"classicalSecurityLevel,omitempty"` - NistQuantumSecurityLevel *int `json:"nistQuantumSecurityLevel" xml:"nistQuantumSecurityLevel"` + NistQuantumSecurityLevel *int `json:"nistQuantumSecurityLevel,omitempty" xml:"nistQuantumSecurityLevel,omitempty"` } type CryptoAssetType string