Bladeren bron

clear code

Marino Faggiana 7 jaren geleden
bovenliggende
commit
269c07b454
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      iOSClient/Security/NCEndToEndEncryption.m

+ 2 - 0
iOSClient/Security/NCEndToEndEncryption.m

@@ -648,6 +648,7 @@ cleanup:
     
     // add TAG JAVA compatibility
     [*cipherData appendData:*tagData];
+    // --------------------------
     
     // Free
     EVP_CIPHER_CTX_free(ctx);
@@ -718,6 +719,7 @@ cleanup:
     
     // remove TAG JAVA compatibility
     cipherData = [cipherData subdataWithRange:NSMakeRange(0, cipherData.length - 16)];
+    // -----------------------------
     
     // Provide the message to be decrypted, and obtain the plaintext output
     *plainData = [NSMutableData dataWithLength:([cipherData length])];