enhance t2, and scan_ldapbindrequest doesn't count the method tag.

This commit is contained in:
leitner
2002-01-14 18:46:30 +00:00
parent c236dd6ccb
commit aa61444f10
4 changed files with 35 additions and 24 deletions

View File

@@ -13,7 +13,6 @@ int scan_ldapbindrequest(const char* src,const char* max,
long method;
if (!(tmp=scan_asn1tag(src+res,max,&tc,&tt,&method))) return 0;
if (tc!=PRIVATE || tt!=PRIMITIVE) return 0;
res+=tmp;
}
return res;
}