Skip to content

Commit 0edd41b

Browse files
Fix assertion in cc provider
1 parent e4112a5 commit 0edd41b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/crypto_cc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static int sqlcipher_cc_cipher(void *ctx, int mode, unsigned char *key, int key_
8989
CCCryptorFinal(cryptor, out, in_sz - csz, &tmp_csz);
9090
csz += tmp_csz;
9191
CCCryptorRelease(cryptor);
92-
assert(size == csz);
92+
assert(in_sz == csz);
9393

9494
return SQLITE_OK;
9595
}

0 commit comments

Comments
 (0)