Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
xabber-android
Commits
a7b24839
Commit
a7b24839
authored
Apr 21, 2015
by
أحمد المحمودي (Ahmed El-Mahmoudy)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update OTR library
parent
e7a2353a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
otr4j
app/otr4j
+1
-1
OTRManager.java
...ava/com/xabber/android/data/extension/otr/OTRManager.java
+2
-3
No files found.
otr4j
@
a7e91fdd
Subproject commit
284a850bbed4b678375f84dfde0611898695467
8
Subproject commit
a7e91fddfe519b408be3fceceb13fa2528be44f
8
app/src/main/java/com/xabber/android/data/extension/otr/OTRManager.java
View file @
a7b24839
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment