summaryrefslogtreecommitdiffstats
path: root/fmt_ldapbindrequest.c
diff options
context:
space:
mode:
Diffstat (limited to 'fmt_ldapbindrequest.c')
-rw-r--r--fmt_ldapbindrequest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fmt_ldapbindrequest.c b/fmt_ldapbindrequest.c
index a5d2e18..0d0c361 100644
--- a/fmt_ldapbindrequest.c
+++ b/fmt_ldapbindrequest.c
@@ -13,7 +13,7 @@ size_t fmt_ldapbindrequest(char* dest,long version,const char* name,const char*
if (dest) dest+=l;
// sum+=l; if (dest) dest+=l;
nlen=str_len(simple);
- l=fmt_asn1string(dest,PRIVATE,PRIMITIVE,0,simple,nlen);
+ l=fmt_asn1string(dest,CONTEXT_SPECIFIC,PRIMITIVE,0,simple,nlen);
if (add_of(sum,sum,l)) return (size_t)-1;
return sum;
}
@@ -26,7 +26,7 @@ size_t fmt_ldapbindrequeststring(char* dest,long version,const struct string* na
if (add_of(sum,sum,l)) return (size_t)-1;
if (dest) dest+=l;
// sum+=l; if (dest) dest+=l;
- l=fmt_asn1string(dest,PRIVATE,PRIMITIVE,0,simple->s,simple->l);
+ l=fmt_asn1string(dest,CONTEXT_SPECIFIC,PRIMITIVE,0,simple->s,simple->l);
if (add_of(sum,sum,l)) return (size_t)-1;
return sum;
}