Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Olm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Olm
Commits
2e84f755
Commit
2e84f755
authored
6 years ago
by
manuroe
Committed by
Hubert Chathi
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix obj-c warnings
parent
9d81046f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
OLMKit.podspec
+1
-1
1 addition, 1 deletion
OLMKit.podspec
xcode/OLMKit/OLMInboundGroupSession.m
+1
-1
1 addition, 1 deletion
xcode/OLMKit/OLMInboundGroupSession.m
xcode/OLMKit/OLMUtility.h
+1
-1
1 addition, 1 deletion
xcode/OLMKit/OLMUtility.h
with
3 additions
and
3 deletions
OLMKit.podspec
+
1
−
1
View file @
2e84f755
...
...
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s
.
authors
=
{
"Chris Ballinger"
=>
"chrisballinger@gmail.com"
,
"matrix.org"
=>
"support@matrix.org"
}
s
.
ios
.
deployment_target
=
"
5
.0"
s
.
ios
.
deployment_target
=
"
6
.0"
s
.
osx
.
deployment_target
=
"10.9"
# Expose the Objective-C wrapper API of libolm
...
...
This diff is collapsed.
Click to expand it.
xcode/OLMKit/OLMInboundGroupSession.m
+
1
−
1
View file @
2e84f755
...
...
@@ -194,7 +194,7 @@
{
size_t
length
=
olm_export_inbound_group_session_length
(
session
);
NSMutableData
*
key
=
[
NSMutableData
dataWithLength
:
length
];
size_t
result
=
olm_export_inbound_group_session
(
session
,
key
.
mutableBytes
,
key
.
length
,
messageIndex
);
size_t
result
=
olm_export_inbound_group_session
(
session
,
key
.
mutableBytes
,
key
.
length
,
(
uint32_t
)
messageIndex
);
if
(
result
==
olm_error
())
{
const
char
*
olm_error
=
olm_inbound_group_session_last_error
(
session
);
NSString
*
errorString
=
[
NSString
stringWithUTF8String
:
olm_error
];
...
...
This diff is collapsed.
Click to expand it.
xcode/OLMKit/OLMUtility.h
+
1
−
1
View file @
2e84f755
...
...
@@ -36,7 +36,7 @@ FOUNDATION_EXPORT NSString *const OLMErrorDomain;
@param signature the base64-encoded signature to be checked.
@param key the ed25519 key.
@param message the message which was signed.
@param
the result
error if there is a problem with the verification.
@param error if there is a problem with the verification.
If the key was too small then the message will be "OLM.INVALID_BASE64".
If the signature was invalid then the message will be "OLM.BAD_MESSAGE_MAC".
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment