aboutsummaryrefslogtreecommitdiff
path: root/rose/rose.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-08 18:49:29 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-10-08 18:49:29 +0200
commitcd42ef6603dc8b6703ff261e628b31ee07ef0165 (patch)
tree4959358c825814c51bb4846335654084cabda8fb /rose/rose.go
parentab8f93ed3cda4a7ff9152650a3022ca9c151e44a (diff)
work in progress
Diffstat (limited to 'rose/rose.go')
-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"`
}
}