diff options
author | Simon Rettberg | 2019-06-13 18:08:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-06-13 18:08:11 +0200 |
commit | 5829b696f3d831766c92c58b957feb6315ed7ddb (patch) | |
tree | 3d84cf15a594be38c7f31eb2992bee541d10070f /scan_ldapbindrequest.c | |
parent | Fix deprecated OpenSSL call (diff) | |
download | ldadp-5829b696f3d831766c92c58b957feb6315ed7ddb.tar.gz ldadp-5829b696f3d831766c92c58b957feb6315ed7ddb.tar.xz ldadp-5829b696f3d831766c92c58b957feb6315ed7ddb.zip |
tag class CONTEXT_SPECIFIC <-> PRIVATE was swapped
Diffstat (limited to 'scan_ldapbindrequest.c')
-rw-r--r-- | scan_ldapbindrequest.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |