diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-10-08 18:23:14 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-10-08 18:23:14 +0200 |
commit | ab8f93ed3cda4a7ff9152650a3022ca9c151e44a (patch) | |
tree | b5336af724aa95579d15f13de90733634b576ac8 /rose/rose.go | |
parent | a25ee7b14157ded2e056c87aa313ccb7a7509ebb (diff) |
Fix parse errors
Diffstat (limited to 'rose/rose.go')
-rw-r--r-- | rose/rose.go | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/rose/rose.go b/rose/rose.go index 3ceffd3..f5cafbb 100644 --- a/rose/rose.go +++ b/rose/rose.go @@ -4,17 +4,14 @@ import "github.com/dim13/asn1" // 2.4.6.0 -// Payload contains RawContent -type Payload struct { - asn1.RawContent -} - // Invoke is Context-specific Constructed 1 type Invoke struct { asn1.Tag `asn1:"tag:1"` InvokeId int Opcode int - Payload + Payload struct { + asn1.RawContent + } } // ReturnResult it Context-specific Constructed 2 @@ -22,7 +19,7 @@ type ReturnResult struct { asn1.Tag `asn1:"tag:2"` InvokeId int Result struct { + asn1.RawContent Opcode int - Payload } } |