Skip to content

Commit

Permalink
Update to SQLCipher 4.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim van der Molen committed May 5, 2024
1 parent 6b30158 commit 8b21bb4
Show file tree
Hide file tree
Showing 4 changed files with 6,025 additions and 2,691 deletions.
4 changes: 2 additions & 2 deletions sqlcipher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
The `sqlite3.c` and `sqlite3.h` files were generated from the SQLCipher source
using the following procedure.

Clone the SQLCipher repository and check out the `v4.5.6` tag:
Clone the SQLCipher repository and check out the `v4.5.7` tag:

git clone -b v4.5.6 https://github.com/sqlcipher/sqlcipher.git
git clone -b v4.5.7 https://github.com/sqlcipher/sqlcipher.git
cd sqlcipher

Apply `sqlcipher.diff`:
Expand Down
8 changes: 4 additions & 4 deletions sqlcipher/sqlcipher.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git Makefile.in Makefile.in
index 870c5d30..e6d93f8d 100644
index ce2617c7..933e4612 100644
--- Makefile.in
+++ Makefile.in
@@ -157,6 +157,7 @@ CRYPTOSRC = \
Expand All @@ -11,10 +11,10 @@ index 870c5d30..e6d93f8d 100644
$(TOP)/src/crypto_nss.c \
$(TOP)/src/crypto_openssl.c \
diff --git src/crypto.h src/crypto.h
index c9583308..2b09a42f 100644
index cdd973ca..d99abbd4 100644
--- src/crypto.h
+++ src/crypto.h
@@ -72,6 +72,7 @@ void sqlite3pager_reset(Pager *pPager);
@@ -77,6 +77,7 @@ void sqlite3pager_reset(Pager *pPager);
/* end extensions defined in pager.c */

#if !defined (SQLCIPHER_CRYPTO_CC) \
Expand Down Expand Up @@ -217,7 +217,7 @@ index 00000000..a9008bb5
+
+#endif
diff --git src/crypto_impl.c src/crypto_impl.c
index 6e3ab2c3..68c9520d 100644
index 9dffb5f9..0e735fa1 100644
--- src/crypto_impl.c
+++ src/crypto_impl.c
@@ -213,6 +213,9 @@ void sqlcipher_activate() {
Expand Down
Loading

0 comments on commit 8b21bb4

Please sign in to comment.