Changeset ff0c168


Ignore:
Timestamp:
Dec 26, 2010 12:29:55 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
c54b4028
Parents:
82e3440
Message:
  • Certificate: Fix fatal null cert error
File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/Certificate.java

    r82e3440 rff0c168  
    112112        }
    113113    }
    114    
    115    
     114
     115    /**
     116     *  @return the written length (NOT the new offset)   
     117     */   
    116118    public int writeBytes(byte target[], int offset) {
    117119        int cur = offset;
     
    243245        public int writeBytes(byte target[], int offset) {
    244246            System.arraycopy(NULL_DATA, 0, target, offset, NULL_LENGTH);
    245             return offset + NULL_LENGTH;
     247            return NULL_LENGTH;
    246248        }
    247249   
Note: See TracChangeset for help on using the changeset viewer.