Commit eb51e6ea authored by Sunil Kumar's avatar Sunil Kumar
Browse files

To fix dsmlreader problem

parent a52949f9
...@@ -76,12 +76,22 @@ public class RfcExtendedResponse extends ASN1Sequence implements RfcResponse { ...@@ -76,12 +76,22 @@ public class RfcExtendedResponse extends ASN1Sequence implements RfcResponse {
add(resultCode); add(resultCode);
add(matchedDN); add(matchedDN);
add(errorMessage); add(errorMessage);
int counter = 3;
if(referral != null) if(referral != null)
{
add(referral); add(referral);
referralIndex = counter++;
}
if (responseName != null) if (responseName != null)
{
responseNameIndex = counter++;
add(responseName); add(responseName);
}
if (response != null) if (response != null)
{
add(response); add(response);
responseIndex = counter++;
}
return; return;
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment