Skip to content

Commit

Permalink
the value should 32
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Sep 24, 2024
1 parent c965110 commit ebfa0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatrixSDK/Crypto/KeyBackup/MXRecoveryKey.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ + (NSData *)decode:(NSString *)recoveryKey error:(NSError **)error
}

if (result.length !=
sizeof(kOlmRecoveryKeyPrefix) + [OLMPkDecryption privateKeyLength] + 1)
sizeof(kOlmRecoveryKeyPrefix) + 33)
{
if (error)
{
Expand Down

0 comments on commit ebfa0cd

Please sign in to comment.