From 5829b696f3d831766c92c58b957feb6315ed7ddb Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 13 Jun 2019 18:08:11 +0200 Subject: tag class CONTEXT_SPECIFIC <-> PRIVATE was swapped --- scan_ldapbindrequest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scan_ldapbindrequest.c') diff --git a/scan_ldapbindrequest.c b/scan_ldapbindrequest.c index 0ce7e12..a5e8342 100644 --- a/scan_ldapbindrequest.c +++ b/scan_ldapbindrequest.c @@ -11,7 +11,7 @@ size_t scan_ldapbindrequest(const char* src,const char* max, enum asn1_tagclass tc; enum asn1_tagtype tt; if (!(tmp=scan_asn1tag(src+res,max,&tc,&tt,method))) return 0; - if (tc!=PRIVATE || tt!=PRIMITIVE) return 0; + if (tc!=CONTEXT_SPECIFIC || tt!=PRIMITIVE) return 0; } return res; } -- cgit v1.2.3-55-g7522