diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-05-30 13:50:48 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-05-30 15:21:25 +0200 |
commit | 7eb760ed9083d5af0b8cd14bd2f26b88691be9ae (patch) | |
tree | 14e39ba0594aae296082490ffc8c364f0033bbce /lib/int.h | |
parent | d14caccbe1f54c42437b41e5a1863339f5987fc6 (diff) | |
download | libtasn1-7eb760ed9083d5af0b8cd14bd2f26b88691be9ae.tar.gz libtasn1-7eb760ed9083d5af0b8cd14bd2f26b88691be9ae.tar.bz2 libtasn1-7eb760ed9083d5af0b8cd14bd2f26b88691be9ae.zip |
simplified and optimized asn1_der_decoding_startEnd().
The second pass decoding is now avoided as the start and end
values are cached during decoding.
Diffstat (limited to 'lib/int.h')
-rw-r--r-- | lib/int.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -59,6 +59,8 @@ struct asn1_node_st /* values used during decoding/coding */ int tmp_ival; + unsigned start; /* the start of the DER sequence - if decoded */ + unsigned end; /* the end of the DER sequence - if decoded */ }; typedef struct tag_and_class_st |