Changeset f4d7a6d for core


Ignore:
Timestamp:
Apr 11, 2019 3:38:03 PM (12 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
363317f
Parents:
b5a4f16
Message:

i2ptunnel: Disallow encrypted LS for offline keys

File:
1 edited

Legend:

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

    rb5a4f16 rf4d7a6d  
    628628     */
    629629    public boolean isOffline() {
     630        try {
     631            // call this to force initialization
     632            getDestination();
     633        } catch (Exception e) {
     634            return false;
     635        }
    630636        return _offlineSignature != null;
    631637    }
Note: See TracChangeset for help on using the changeset viewer.