directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-ldap-api] branch master updated: Fixed a bug in the Oid state engine
Date Mon, 25 Dec 2017 17:13:23 GMT
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 cd20c74  Fixed a bug in the Oid state engine
cd20c74 is described below

commit cd20c748f7261db60f9bcef39b9bed36040149b9
Author: Emmanuel L├ęcharny <elecharny@symas.com>
AuthorDate: Mon Dec 25 18:13:06 2017 +0100

    Fixed a bug in the Oid state engine
---
 asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java b/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
index 9212040..a948c54 100644
--- a/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
+++ b/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
@@ -621,7 +621,7 @@ public final class Oid
     {
         char c = oid.charAt( pos );
         
-        if ( c == ';' )
+        if ( c == '.' )
         {
             // The first 2 arcs are single digit, we can collapse them in one byte.
             buffer[0] = ( byte ) ( 80 + buffer[1] );

-- 
To stop receiving notification emails like this one, please contact
['"commits@directory.apache.org" <commits@directory.apache.org>'].

Mime
View raw message