diff options
Diffstat (limited to 'scan_ldapsearchfilter.c')
-rw-r--r-- | scan_ldapsearchfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scan_ldapsearchfilter.c b/scan_ldapsearchfilter.c index 0f3eb02..a07888b 100644 --- a/scan_ldapsearchfilter.c +++ b/scan_ldapsearchfilter.c @@ -37,7 +37,7 @@ size_t scan_ldapsearchfilter(const char* src,const char* max,struct Filter** f) const char* nmax; *f=0; if (!(res=scan_asn1tag(src,max,&tc,&tt,&tag))) goto error; - if (tc!=PRIVATE || (tt!=CONSTRUCTED && tag!=7) || tag>9) goto error; + if (tc!=CONTEXT_SPECIFIC || (tt!=CONSTRUCTED && tag!=7) || tag>9) goto error; if (!(tmp=scan_asn1length(src+res,max,&len))) goto error; res+=tmp; nmax=src+res+len; |