directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r170953 - /directory/asn1/trunk/der/src/java/org/apache/asn1/der/DERBoolean.java
Date Thu, 19 May 2005 16:25:39 GMT
Author: erodriguez
Date: Thu May 19 09:25:38 2005
New Revision: 170953

URL: http://svn.apache.org/viewcvs?rev=170953&view=rev
Log:
o  Corrected octet value for TRUE per DIRSNICKERS-105, closing issue.
o  DERBoolean is not in use in the ApacheDS/Kerberos code, so this will not affect operation.

Modified:
    directory/asn1/trunk/der/src/java/org/apache/asn1/der/DERBoolean.java

Modified: directory/asn1/trunk/der/src/java/org/apache/asn1/der/DERBoolean.java
URL: http://svn.apache.org/viewcvs/directory/asn1/trunk/der/src/java/org/apache/asn1/der/DERBoolean.java?rev=170953&r1=170952&r2=170953&view=diff
==============================================================================
--- directory/asn1/trunk/der/src/java/org/apache/asn1/der/DERBoolean.java (original)
+++ directory/asn1/trunk/der/src/java/org/apache/asn1/der/DERBoolean.java Thu May 19 09:25:38
2005
@@ -22,7 +22,7 @@
  */
 public class DERBoolean extends DERObject
 {
-	private static final byte[] trueArray  = { (byte)0x01 };
+	private static final byte[] trueArray  = { (byte)0xff };
 	private static final byte[] falseArray = { (byte)0x00 };
 	
     public static final DERBoolean TRUE  = new DERBoolean( trueArray );
@@ -50,7 +50,7 @@
      */
     public boolean isTrue()
     {
-        return value[ 0 ] == (byte)0x01;
+        return value[ 0 ] == (byte)0xff;
     }
 }
 



Mime
View raw message