Skip to content

Commit 4dfef22

Browse files
committed
objc indentation
1 parent a826fd1 commit 4dfef22

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

MatrixSDK/Crypto/SecretStorage/MXSecretStorage.m

+6-3
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,13 @@ - (MXHTTPOperation*)createKeyWithKeyId:(nullable NSString*)keyId
169169
{
170170
uint8_t randomBytes[32];
171171
OSStatus status = SecRandomCopyBytes(kSecRandomDefault, sizeof(randomBytes), randomBytes);
172-
173-
if (status == errSecSuccess) {
172+
173+
if (status == errSecSuccess)
174+
{
174175
privateKey = [NSData dataWithBytes:randomBytes length:sizeof(randomBytes)];
175-
} else {
176+
}
177+
else
178+
{
176179
MXLogDebug(@"Failed to generate random bytes with error: %d", (int)status);
177180
}
178181
}

0 commit comments

Comments
 (0)