diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-08-30 17:12:08 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-08-30 17:12:12 +0200 |
commit | 07ecd38842d3861d580df57b4eb733527160a1c8 (patch) | |
tree | d1e203e1f62261f59cdd099d47410fbfdf7eaaa3 /OpenKeychain | |
parent | b6203a2b3ccfb9a81925e5114a4b90c9e7a66093 (diff) | |
download | open-keychain-07ecd38842d3861d580df57b4eb733527160a1c8.tar.gz open-keychain-07ecd38842d3861d580df57b4eb733527160a1c8.tar.bz2 open-keychain-07ecd38842d3861d580df57b4eb733527160a1c8.zip |
get rid of a deprecated method use
Diffstat (limited to 'OpenKeychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java index 9fcd21b4b..477c28b93 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java @@ -162,7 +162,8 @@ public class UncachedKeyRing { while(stream.available() > 0) { // if there are no objects left from the last factory, create a new one if (mObjectFactory == null) { - mObjectFactory = new PGPObjectFactory(PGPUtil.getDecoderStream(stream)); + mObjectFactory = new PGPObjectFactory(PGPUtil.getDecoderStream(stream), + new JcaKeyFingerprintCalculator()); } // go through all objects in this block |