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