aboutsummaryrefslogtreecommitdiff
path: root/rose
diff options
context:
space:
mode:
Diffstat (limited to 'rose')
-rw-r--r--rose/rose.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/rose/rose.go b/rose/rose.go
index f5cafbb..4500f01 100644
--- a/rose/rose.go
+++ b/rose/rose.go
@@ -8,10 +8,10 @@ import "github.com/dim13/asn1"
type Invoke struct {
asn1.Tag `asn1:"tag:1"`
InvokeId int
- Opcode int
+ Opcode int `asn1:"optional"`
Payload struct {
asn1.RawContent
- }
+ } `asn1:"optional"`
}
// ReturnResult it Context-specific Constructed 2
@@ -19,7 +19,7 @@ type ReturnResult struct {
asn1.Tag `asn1:"tag:2"`
InvokeId int
Result struct {
- asn1.RawContent
- Opcode int
+ asn1.RawContent `asn1:"optional"`
+ Opcode int `asn1:"optional"`
}
}