get rid of a deprecated method use

This commit is contained in:
Vincent Breitmoser 2014-08-30 17:12:08 +02:00
parent b6203a2b3c
commit 07ecd38842

View file

@ -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