Update OTR library

parent e7a2353a
Subproject commit 284a850bbed4b678375f84dfde06118986954678
Subproject commit a7e91fddfe519b408be3fceceb13fa2528be44f8
......@@ -365,8 +365,7 @@ public class OTRManager implements OtrEngineHost, OtrEngineListener,
PublicKey remotePublicKey = session.getRemotePublicKey();
String value;
try {
value = new OtrCryptoEngine()
.getFingerprint(remotePublicKey);
value = OtrCryptoEngine.getFingerprint(remotePublicKey);
} catch (OtrCryptoException e) {
LogManager.exception(this, e);
value = null;
......@@ -542,7 +541,7 @@ public class OTRManager implements OtrEngineHost, OtrEngineListener,
public String getLocalFingerprint(String account) {
try {
return new OtrCryptoEngine().getFingerprint(getLocalKeyPair(
return OtrCryptoEngine.getFingerprint(getLocalKeyPair(
account).getPublic());
} catch (OtrCryptoException e) {
LogManager.exception(this, e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment