You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2024/12/18 20:20:07 UTC

(directory-ldap-api) branch master updated: Fixed another ASN1 issue

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a43b98a1 Fixed another ASN1 issue
7a43b98a1 is described below

commit 7a43b98a1485e870b86f02705590b796ae959489
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Wed Dec 18 21:19:57 2024 +0100

    Fixed another ASN1 issue
---
 .../java/org/apache/directory/api/ldap/codec/LdapMessageGrammar.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/LdapMessageGrammar.java b/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/LdapMessageGrammar.java
index bf4784380..1aa1dfa8d 100644
--- a/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/LdapMessageGrammar.java
+++ b/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/LdapMessageGrammar.java
@@ -2473,7 +2473,7 @@ public final class LdapMessageGrammar extends
                 LdapStatesEnum.CONTROL_STATE,
                 SEQUENCE,
                 new CheckLengthNotNull(),
-                FollowUp.MANDATORY );
+                FollowUp.OPTIONAL );
 
         // --------------------------------------------------------------------------------------------
         // Transition from message ID to SearchRequest Message