From ab8f93ed3cda4a7ff9152650a3022ca9c151e44a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 8 Oct 2015 18:23:14 +0200 Subject: Fix parse errors --- rose/rose.go | 11 ++++------- 1 file 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 } } -- cgit v1.2.3