mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 00:18:51 -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) {
|
while(stream.available() > 0) {
|
||||||
// if there are no objects left from the last factory, create a new one
|
// if there are no objects left from the last factory, create a new one
|
||||||
if (mObjectFactory == null) {
|
if (mObjectFactory == null) {
|
||||||
mObjectFactory = new PGPObjectFactory(PGPUtil.getDecoderStream(stream));
|
mObjectFactory = new PGPObjectFactory(PGPUtil.getDecoderStream(stream),
|
||||||
|
new JcaKeyFingerprintCalculator());
|
||||||
}
|
}
|
||||||
|
|
||||||
// go through all objects in this block
|
// go through all objects in this block
|
||||||
|
Loading…
Reference in New Issue
Block a user