Changeset 3d38522 for core


Ignore:
Timestamp:
Aug 9, 2017 9:24:02 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
51d4827
Parents:
2441484
Message:

findbugs all over

Location:
core/java/src/net/i2p
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/KeyStoreUtil.java

    r2441484 r3d38522  
    600600        }
    601601        Object[] rv = SelfSignedGenerator.generate(cname, ou, null, "I2P Anonymous Network", null, null, validDays, type);
    602         PublicKey jpub = (PublicKey) rv[0];
     602        //PublicKey jpub = (PublicKey) rv[0];
    603603        PrivateKey jpriv = (PrivateKey) rv[1];
    604604        X509Certificate cert = (X509Certificate) rv[2];
    605         X509CRL crl = (X509CRL) rv[3];
     605        //X509CRL crl = (X509CRL) rv[3];
    606606        List<X509Certificate> certs = Collections.singletonList(cert);
    607607        storePrivateKey(ks, ksPW, alias, keyPW, jpriv, certs);
  • core/java/src/net/i2p/crypto/SelfSignedGenerator.java

    r2441484 r3d38522  
    714714    private static final void test(String name, SigType type) throws Exception {
    715715            Object[] rv = generate("cname@example.com", "ou", "o", null, "st", "c", 3652, type);
    716             PublicKey jpub = (PublicKey) rv[0];
     716            //PublicKey jpub = (PublicKey) rv[0];
    717717            PrivateKey jpriv = (PrivateKey) rv[1];
    718718            X509Certificate cert = (X509Certificate) rv[2];
  • core/java/src/net/i2p/util/EepGet.java

    r2441484 r3d38522  
    13971397            // This is kindof a hack, but if we are downloading a gzip file
    13981398            // we don't want to transparently gunzip it and save it as a .gz file.
    1399             (!path.endsWith(".gz")) && (!path.endsWith(".tgz")))
     1399            path == null ||
     1400            (!path.endsWith(".gz") && !path.endsWith(".tgz")))
    14001401            buf.append("gzip");
    14011402        buf.append("\r\n");
Note: See TracChangeset for help on using the changeset viewer.