I have an application which needs to be made forward compatible.
Basically my application needs to ignore/skip pdus received with unknown
but valid tlvs that are not in my asn1 definition of the pdu
Example:
I expect a pdu consisting of a SET of the following tags <tag1> <tag2>
<tag3>
My application receives the following
<tag1><len1><val1><tag4><len4><val4><tag2><len2><val2>
 
Currently the decoding fails as follows:
 
                
          break;
 
       default:
         Asn1Err("Unexpected Tag on SET elmt." );
         longjmp (env, -113);
    } // end switch
  } // end for loop
 
    The question is how can I ensure that the decode does not fail but
merely skips past the unknown tag (<tag4>) in the case above
 
Thanks,
p
        


_______________________________________________
Help-snacc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-snacc

Reply via email to