Added SILC Thread Queue API
[silc.git] / lib / silcasn1 / silcasn1_decode.c
index bcdd5e67932ad68651348e5dc216d4a6079844ac..883220fd60696c7d580de150e0753bbc588bb2fa 100644 (file)
@@ -948,6 +948,7 @@ SilcBool silc_asn1_decode(SilcAsn1 asn1, SilcBuffer src, ...)
       stack1 = asn1->stack1;
       asn1->stack1 = asn1->stack2;
       asn1->stack2 = stack1;
+      asn1->switched = !asn1->switched;
     }
   }