Commit 0c5c4f69 authored by Anil Kumar Kommuri's avatar Anil Kumar Kommuri

m_responseNameIndex is allowed to get values >= 0

parent f7c8ec42
......@@ -125,7 +125,7 @@ public class RfcIntermediateResponse extends ASN1Sequence implements RfcResponse
*/
public final RfcLDAPOID getResponseName()
{
return (m_responseNameIndex != 0) ? (RfcLDAPOID)get(m_responseNameIndex)
return (m_responseNameIndex >= 0) ? (RfcLDAPOID)get(m_responseNameIndex)
: null;
}
......
Markdown is supported
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