Commit 03de420a authored by Grigory Fedorov's avatar Grigory Fedorov

Merge branch 'aelmahmoudy-update_otr' into develop

parents 619bda43 9a6be6fa
Subproject commit 295de3b53f054625ecdcf0d5a5db4fc846144013
Subproject commit 0ced840950b4db1a403ea085b642a7028b1ef03d
......@@ -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