From 07ecd38842d3861d580df57b4eb733527160a1c8 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Sat, 30 Aug 2014 17:12:08 +0200 Subject: [PATCH] get rid of a deprecated method use --- .../org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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