Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
269c07b454
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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])];