Changeset b7dc8f42


Ignore:
Timestamp:
Jun 5, 2013 4:44:59 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e1c68d22
Parents:
4a656767
Message:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    r4a656767 rb7dc8f42  
     12013-06-05 zzz
     2 * DatabaseLookupMessage: Change format for encrypted reply request
     3   to allow multiple bundled reply tags
     4 * I2CP: Save client version for future reference
     5 * InboundMessageDistributor: Cleanups
     6 * LeaseSet: Don't allow changes after signature added
     7 * NetDB:
     8   - Debugging option for encrypting RI lookups
     9   - Remove unused classes
     10
    1112013-06-01 zzz
    212 * EepGet: Used cached byte array in uncompressor
  • router/java/src/net/i2p/data/i2np/DatabaseLookupMessage.java

    r4a656767 rb7dc8f42  
    312312            _replyKey = new SessionKey(rk);
    313313            curIndex += SessionKey.KEYSIZE_BYTES;
     314            // number of tags, assume always 1 for now
     315            curIndex++;
    314316            byte[] rt = new byte[SessionTag.BYTE_LENGTH];
    315317            System.arraycopy(data, curIndex, rt, 0, SessionTag.BYTE_LENGTH);
     
    329331            totalLength += Hash.HASH_LENGTH * _dontIncludePeers.size();
    330332        if (_replyKey != null)
    331             totalLength += SessionKey.KEYSIZE_BYTES + SessionTag.BYTE_LENGTH;
     333            // number of tags, assume always 1 for now
     334            totalLength += SessionKey.KEYSIZE_BYTES + 1 + SessionTag.BYTE_LENGTH;
    332335        return totalLength;
    333336    }
     
    373376            System.arraycopy(_replyKey.getData(), 0, out, curIndex, SessionKey.KEYSIZE_BYTES);
    374377            curIndex += SessionKey.KEYSIZE_BYTES;
     378            // number of tags, always 1 for now
     379            out[curIndex++] = 1;
    375380            System.arraycopy(_replyTag.getData(), 0, out, curIndex, SessionTag.BYTE_LENGTH);
    376381            curIndex += SessionTag.BYTE_LENGTH;
  • router/java/src/net/i2p/router/RouterVersion.java

    r4a656767 rb7dc8f42  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 4;
     21    public final static long BUILD = 5;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.