add "generic" format string based encoder and decoder (scan_asn1generic,
fmt_asn1generic, see t10.c for example usage) add "generic" asn.1 dumper (in t10.c) fix some read off-by-one errors, minor cleanups add real OID support add bitstring support
This commit is contained in:
@@ -639,7 +639,7 @@ static void tagmatches(uint32* index,size_t elements,struct string* s,
|
||||
setbit(b,rec);
|
||||
/* there may be multiple matches.
|
||||
* Look before and after mid, too */
|
||||
if (mid) /* thx Andreas Stührk */
|
||||
if (mid) /* thx Andreas Stührk */
|
||||
for (k=mid-1; k>0; --k) {
|
||||
m=uint32_read((char*)(&index[k]));
|
||||
if ((ft==LESSEQUAL) || (l=match(s,map+m))==0) {
|
||||
|
||||
Reference in New Issue
Block a user