Changeset d7808cd


Ignore:
Timestamp:
Feb 3, 2019 12:49:56 PM (19 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7d11fb26
Parents:
f288682
Message:

Data: Fix length for offline sig verification

File:
1 edited

Legend:

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

    rf288682 rd7808cd  
    208208        if (_transientExpires < ctx.clock().now())
    209209            return false;
    210         ByteArrayOutputStream baos = new ByteArrayOutputStream(128);
     210        ByteArrayOutputStream baos = new ByteArrayOutputStream(6 + _transientSigningPublicKey.length());
    211211        try {
    212212            DataHelper.writeLong(baos, 4, _transientExpires / 1000);
Note: See TracChangeset for help on using the changeset viewer.