Skip to content

Commit de01ff8

Browse files
committed
Prepare release of version 2.0.2
- Based on SQLite version 3.48.0
1 parent 67110fb commit de01ff8

File tree

14 files changed

+3067
-1580
lines changed

14 files changed

+3067
-1580
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.2] - 2025-01-15
11+
12+
### Changed
13+
14+
- Based on SQLite version 3.48.0
15+
1016
## [2.0.1] - 2025-01-06
1117

1218
### Fixed
@@ -572,7 +578,8 @@ The following ciphers are supported:
572578
- AES 256 Bit CBC - SHA1/SHA256/SHA512 HMAC ([SQLCipher](https://www.zetetic.net/sqlcipher/), database versions 1, 2, 3, and 4)
573579
- RC4 - No HMAC ([System.Data.SQLite](http://system.data.sqlite.org))
574580

575-
[Unreleased]: ../../compare/v2.0.1...HEAD
581+
[Unreleased]: ../../compare/v2.0.2...HEAD
582+
[2.0.2]: ../../compare/v2.0.1...v2.0.2
576583
[2.0.1]: ../../compare/v2.0.0...v2.0.1
577584
[2.0.0]: ../../compare/v1.9.2...v2.0.0
578585
[1.9.2]: ../../compare/v1.9.1...v1.9.2

configure.ac

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dnl Copyright (C) 2019-2025 Ulrich Telle <[email protected]>
44
dnl
55
dnl This file is covered by the same licence as the entire SQLite3 Multiple Ciphers package.
66

7-
AC_INIT([sqlite3mc], [2.0.1], [[email protected]])
7+
AC_INIT([sqlite3mc], [2.0.2], [[email protected]])
88

99
dnl This is the version tested with, might work with earlier ones.
1010
AC_PREREQ([2.69])
@@ -95,6 +95,15 @@ AC_ARG_WITH([ascon128],
9595
AS_IF([test "x$with_ascon128" = xno],
9696
[AC_DEFINE([HAVE_CIPHER_ASCON128], [0], [Define if you have Ascon-128 disabled])])
9797

98+
AC_ARG_WITH([aegis],
99+
[AS_HELP_STRING([--without-aegis],
100+
[Disable support for AEGIS Encryption])],
101+
[],
102+
[with_aegis=yes])
103+
104+
AS_IF([test "x$with_aegis" = xno],
105+
[AC_DEFINE([HAVE_CIPHER_AEGIS], [0], [Define if you have AEGIS disabled])])
106+
98107
dnl Enable cipher codec
99108

100109
AC_ARG_ENABLE(codec,
@@ -104,7 +113,8 @@ AC_ARG_ENABLE(codec,
104113
chacha20 [default]: ChaCha20-Poly1305 Encryption
105114
sqlcipher: SQLCipher Encryption
106115
rc4: System.Data.SQLite RC4 Encryption
107-
ascon128: Ascon-128 Encryption],
116+
ascon128: Ascon-128 Encryption
117+
aegis: AEGIS Encryption],
108118
[if test "x$enableval" = "xaes128" && test "x$with_aes128cbc" = xyes ; then
109119
codec_type=CODEC_TYPE_AES128
110120
elif test "x$enableval" = "xaes256" && test "x$with_aes256cbc" = xyes ; then
@@ -117,6 +127,8 @@ AC_ARG_ENABLE(codec,
117127
codec_type=CODEC_TYPE_RC4
118128
elif test "x$enableval" = "xascon128" && test "x$with_ascon128" = xyes ; then
119129
codec_type=CODEC_TYPE_ASCON128
130+
elif test "x$enableval" = "xaegis" && test "x$with_aegis" = xyes ; then
131+
codec_type=CODEC_TYPE_AEGIS
120132
else
121133
echo
122134
echo "Error!"
@@ -131,7 +143,8 @@ AS_IF([test "x$with_aes128cbc" = xno &&
131143
test "x$with_chacha20" = xno &&
132144
test "x$with_sqlcipher" = xno &&
133145
test "x$with_rc4" = xno &&
134-
test "x$with_ascon128" = xno],
146+
test "x$with_ascon128" = xno &&
147+
test "x$with_aegis" = xno],
135148
[AC_DEFINE([SQLITE_HAS_CODEC], [0], [All ciphers disabled so encryption is disabled])])
136149

137150
dnl Check for zlib

readme.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ The code was mainly developed under Windows, but was tested under Linux as well.
1010

1111
## Version information
1212

13-
* 2.0.1 - *January 2025*
14-
- Based on SQLite version 3.47.2
15-
- Fixed issue #186 - crashes due to _illegal instruction_ exception on some Linux systems
16-
- Fixed issue #185 - missing header file and include path in CMake build file
13+
* 2.0.2 - *January 2025*
14+
- Based on SQLite version 3.48.0
1715

1816
For further version information please consult the [CHANGELOG](CHANGELOG.md).
1917

scripts/patchshell.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ sed -e '/^ sputf(stdout, "SQLite version/{n;N;d}' "$INPUT" \
1818
| sed '/#ifdef SQLITE_CUSTOM_INCLUDE/!{p;d;};n;n;n;a #if SQLITE3MC_USE_MINIZ != 0 && !defined(SQLITE_ENABLE_COMPRESS)\n#include "miniz.c"\n#ifdef SQLITE_HAVE_ZLIB\n#undef SQLITE_HAVE_ZLIB\n#endif\n#define SQLITE_HAVE_ZLIB 1\n#endif\n' \
1919
| sed '/#include <zlib.h>/c #include "zlibwrap.h"' \
2020
| sed '/^ sqlite3_fprintf(stdout,$/c \ extern char* sqlite3mc_version();\n sqlite3_fprintf(stdout,' \
21-
| sed '/^ "SQLite version/c \ "SQLite version \%s \%.19s%s" \/\*extra-version-info\*\/\n " (\%s)\\n" \/\*SQLite3-Multiple-Ciphers-version-info\*\/' \
22-
| sed '/^ sqlite3_libversion(), sqlite3_sourceid(), SHELL_CIO_CHAR_SET);/c \ sqlite3_libversion(), sqlite3_sourceid(), SHELL_CIO_CHAR_SET, sqlite3mc_version());' \
21+
| sed '/^ "SQLite version/c \ "SQLite version \%s \%.19s" \/\*extra-version-info\*\/\n " (\%s)\\n" \/\*SQLite3-Multiple-Ciphers-version-info\*\/' \
22+
| sed '/^ sqlite3_libversion(), sqlite3_sourceid());/c \ sqlite3_libversion(), sqlite3_sourceid(), sqlite3mc_version());' \
2323
| sed '/^ sqlite3_libversion(), sqlite3_sourceid());/a \ extern char* sqlite3mc_version();\n sqlite3_fprintf(p->out, "\%s\\n", sqlite3mc_version());'

src/fileio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ static int writeFile(
437437

438438
GetSystemTime(&currentTime);
439439
SystemTimeToFileTime(&currentTime, &lastAccess);
440-
intervals = Int32x32To64(mtime, 10000000) + 116444736000000000;
440+
intervals = (mtime*10000000) + 116444736000000000;
441441
lastWrite.dwLowDateTime = (DWORD)intervals;
442442
lastWrite.dwHighDateTime = intervals >> 32;
443443
zUnicodeName = sqlite3_win32_utf8_to_unicode(zFile);

src/regexp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,8 @@ static const char *re_subcompile_string(ReCompiled *p){
656656
** regular expression. Applications should invoke this routine once
657657
** for every call to re_compile() to avoid memory leaks.
658658
*/
659-
static void re_free(ReCompiled *pRe){
659+
static void re_free(void *p){
660+
ReCompiled *pRe = (ReCompiled*)p;
660661
if( pRe ){
661662
sqlite3_free(pRe->aOp);
662663
sqlite3_free(pRe->aArg);

src/rekeyvacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
** Change 4: Call sqlite3mcBtreeSetPageSize instead of sqlite3BtreeSetPageSize for main database
2828
** (sqlite3mcBtreeSetPageSize allows to reduce the number of reserved bytes)
2929
**
30-
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.47.2 amalgamation.
30+
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.48.0 amalgamation.
3131
*/
3232
SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3mcRunVacuumForRekey(
3333
char **pzErrMsg, /* Write error message here */

src/shathree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
**
1313
** This SQLite extension implements functions that compute SHA3 hashes
1414
** in the way described by the (U.S.) NIST FIPS 202 SHA-3 Standard.
15-
** Two SQL functions are implemented:
15+
** Three SQL functions are implemented:
1616
**
1717
** sha3(X,SIZE)
1818
** sha3_agg(Y,SIZE)

0 commit comments

Comments
 (0)