Fix type for ComponentClassValue

This is an octet string (ie, an array of bytes) rather than a string.
Fix it to be []byte.
This commit is contained in:
Matthew Garrett
2020-11-12 16:18:30 -08:00
committed by Matthew Garrett
parent cc244b36f4
commit 4ad1cc2bf5

View File

@ -390,7 +390,7 @@ type ComponentAddress struct {
type ComponentClass struct { type ComponentClass struct {
ComponentClassRegistry asn1.ObjectIdentifier ComponentClassRegistry asn1.ObjectIdentifier
ComponentClassValue string ComponentClassValue []byte
} }
type ComponentIdentifierV2 struct { type ComponentIdentifierV2 struct {