Skip to content

Commit ebfa0cd

Browse files
committed
the value should 32
1 parent c965110 commit ebfa0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MatrixSDK/Crypto/KeyBackup/MXRecoveryKey.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ + (NSData *)decode:(NSString *)recoveryKey error:(NSError **)error
7171
}
7272

7373
if (result.length !=
74-
sizeof(kOlmRecoveryKeyPrefix) + [OLMPkDecryption privateKeyLength] + 1)
74+
sizeof(kOlmRecoveryKeyPrefix) + 33)
7575
{
7676
if (error)
7777
{

0 commit comments

Comments
 (0)