瀏覽代碼

clear code

Marino Faggiana 7 年之前
父節點
當前提交
269c07b454
共有 1 個文件被更改,包括 2 次插入0 次删除
  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])];