Skip to content

Commit

Permalink
update pods
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Sep 28, 2018
1 parent 04a1de5 commit 4c450a8
Show file tree
Hide file tree
Showing 4 changed files with 4,943 additions and 4,744 deletions.
12 changes: 6 additions & 6 deletions AxolotlKit/AxolotlKit/Classes/Prekeys/PreKeyBundle.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ - (nullable instancetype)initWithRegistrationId:(int)registrationId
signedPreKeySignature:(NSData *)signedPreKeySignature
identityKey:(NSData *)identityKey
{
if (preKeyPublic && preKeyPublic.length == 32) {
OWSFailDebug(@"preKeyPublic && preKeyPublic.length == 32");
if (preKeyPublic && preKeyPublic.length != 33) {
OWSFailDebug(@"preKeyPublic && preKeyPublic.length != 33");
return nil;
}
if (signedPreKeyPublic.length != 32) {
OWSFailDebug(@"signedPreKeyPublic.length != 32");
if (signedPreKeyPublic.length != 33) {
OWSFailDebug(@"signedPreKeyPublic.length != 33");
return nil;
}
if (!signedPreKeySignature) {
OWSFailDebug(@"!signedPreKeySignature");
return nil;
}
if (identityKey.length != 32) {
OWSFailDebug(@"identityKey.length != 32");
if (identityKey.length != 33) {
OWSFailDebug(@"identityKey.length != 33");
return nil;
}

Expand Down
5 changes: 3 additions & 2 deletions AxolotlKit/AxolotlKit/Classes/Ratchet/RatchetingSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ - (instancetype)initWithMasterKey:(NSData*)data;
@implementation DHEResult

- (instancetype)initWithMasterKey:(NSData*)data{
// DHE Result is expected to be the result of 3 or 4 DHEs outputting 32 bytes each
OWSAssert([data length] == 32 * 4 || [data length] == 32 * 3);
// DHE Result is expected to be the result of 3 or 4 DHEs outputting 32 bytes each,
// plus the 32 discontinuity bytes added to make V3 incompatible with V2
OWSAssert([data length] == 32 * 4 || [data length] == 32 * 5);

self = [super init];
const char *HKDFDefaultSalt[4] = {0};
Expand Down
7 changes: 4 additions & 3 deletions Manifest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ PODS:

DEPENDENCIES:
- AFNetworking
- AxolotlKit (from `https://github.com/signalapp/SignalProtocolKit.git`)
- AxolotlKit (from `https://github.com/signalapp/SignalProtocolKit.git`, branch `release/2.30.2`)
- Curve25519Kit (from `https://github.com/signalapp/Curve25519Kit`)
- GRKOpenSSLFramework (from `https://github.com/signalapp/GRKOpenSSLFramework`)
- HKDFKit (from `https://github.com/signalapp/HKDFKit.git`)
Expand Down Expand Up @@ -183,6 +183,7 @@ SPEC REPOS:

EXTERNAL SOURCES:
AxolotlKit:
:branch: release/2.30.2
:git: https://github.com/signalapp/SignalProtocolKit.git
Curve25519Kit:
:git: https://github.com/signalapp/Curve25519Kit
Expand All @@ -204,7 +205,7 @@ EXTERNAL SOURCES:

CHECKOUT OPTIONS:
AxolotlKit:
:commit: 7b2af262204af6f5dcdc2986571c5a72400f7e04
:commit: 446fbdaa5760cf1b1337441340d4d885beb27beb
:git: https://github.com/signalapp/SignalProtocolKit.git
Curve25519Kit:
:commit: a4f46bd621bb2bcbf1a44b360e8ac4209e410ee9
Expand Down Expand Up @@ -246,6 +247,6 @@ SPEC CHECKSUMS:
YapDatabase: b418a4baa6906e8028748938f9159807fd039af4
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54

PODFILE CHECKSUM: 40c4fc7dfb6066c4fdb80bc08600096e172dd4d7
PODFILE CHECKSUM: 99cf978c46911aa96f569649e7113245f4ed30b7

COCOAPODS: 1.5.3
Loading

0 comments on commit 4c450a8

Please sign in to comment.