X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcasn1%2Fsilcasn1_i.h;h=8dd98752474063889e6111e2b4ecdc8fa8392967;hp=bec2cd435f327d9487819ee139925ed2ef5b06e1;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hpb=8fd8212bcd16f2b53fbedff2a9b9a4e8c15b9695 diff --git a/lib/silcasn1/silcasn1_i.h b/lib/silcasn1/silcasn1_i.h index bec2cd43..8dd98752 100644 --- a/lib/silcasn1/silcasn1_i.h +++ b/lib/silcasn1/silcasn1_i.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2003 - 2006 Pekka Riikonen + Copyright (C) 2003 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,10 +26,12 @@ /* ASN.1 context */ struct SilcAsn1Object { - va_list ap; /* List of ASN.1 types given as argument */ + SilcStack orig_stack; /* Stack given to silc_asn1_alloc */ SilcStack stack1; /* Stack for encoder */ SilcStack stack2; /* Internal stack for encoding/decoding */ + va_list ap; /* List of ASN.1 types given as argument */ unsigned int accumul : 1; /* Accumulate memory from stack for result */ + unsigned int switched : 1; /* Set when stack2 is set to stack1 */ }; /* The maximum depth for recursion in encoder and decoder. */