mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
get rid of a deprecated method use
This commit is contained in:
parent
b6203a2b3c
commit
07ecd38842
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user