Changeset 136d77a


Ignore:
Timestamp:
Mar 16, 2012 4:51:55 AM (8 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
67da35a
Parents:
bf0b59b
Message:

Fix YKGenerator test - methods no longer static

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/test/net/i2p/crypto/ElGamalTest.java

    rbf0b59b r136d77a  
    373373    public void testYKGen(){
    374374        RandomSource.getInstance().nextBoolean();
     375        I2PAppContext context = new I2PAppContext();
     376        YKGenerator ykgen = new YKGenerator(context);
    375377        for (int i = 0; i < 5; i++) {
    376             YKGenerator.getNextYK();
     378            ykgen.getNextYK();
    377379        }
    378380    }
Note: See TracChangeset for help on using the changeset viewer.