diff options
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp')
-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 |