Browse Source

cleaning

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 year ago
parent
commit
e658b4a290
1 changed files with 0 additions and 3 deletions
  1. 0 3
      iOSClient/Networking/E2EE/NCEndToEndEncryption.m

+ 0 - 3
iOSClient/Networking/E2EE/NCEndToEndEncryption.m

@@ -539,7 +539,6 @@
 - (BOOL)encryptFile:(NSString *)fileName fileNameIdentifier:(NSString *)fileNameIdentifier directory:(NSString *)directory key:(NSString **)key initializationVector:(NSString **)initializationVector authenticationTag:(NSString **)authenticationTag
 {
     NSData *authenticationTagData;
-   
     NSData *keyData = [self generateKey:AES_KEY_128_LENGTH];
     NSData *initializationVectorData = [self generateIV:AES_IVEC_LENGTH];
 
@@ -860,7 +859,6 @@
     unsigned char *cCipher;
 
     while ([inStream hasBytesAvailable]) {
-
         @autoreleasepool {
             NSInteger bytesRead = [inStream read:buffer maxLength:streamBuffer];
             if (bytesRead > 0) {
@@ -1068,7 +1066,6 @@
     unsigned char *cPlain;
 
     while ([inStream hasBytesAvailable]) {
-
         @autoreleasepool {
             NSInteger bytesRead = [inStream read:buffer maxLength:streamBuffer];
             if (bytesRead > 0) {