File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
bundled/SQLite3MultipleCiphers Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -465,6 +465,7 @@ fn build_multiple_ciphers(out_path: &Path) -> PathBuf {
465465 . build_target ( "sqlite3mc_static" )
466466 . define ( "SQLITE3MC_STATIC" , "ON" )
467467 . define ( "CODEC_TYPE" , "AES256" )
468+ . define ( "LIBSQL_ENCRYPTION" , "ON" )
468469 . define ( "SQLITE3MC_BUILD_SHELL" , "OFF" )
469470 . define ( "SQLITE_SHELL_IS_UTF8" , "OFF" )
470471 . define ( "SQLITE_USER_AUTHENTICATION" , "OFF" )
@@ -495,6 +496,8 @@ fn build_multiple_ciphers(out_path: &Path) -> PathBuf {
495496 config. define ( "LIBSQL_ENABLE_WASM_RUNTIME" , "1" ) ;
496497 }
497498
499+ config. define ( "LIBSQL_ENCRYPTION" , "1" ) ;
500+
498501 if cfg ! ( feature = "session" ) {
499502 config
500503 . define ( "SQLITE_ENABLE_PREUPDATE_HOOK" , "ON" )
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ set(SQLITE3MC_BASE_DEFINITIONS
124124 $<$<BOOL :${LIBSQL_ENABLE_WASM_RUNTIME} >:LIBSQL_ENABLE_WASM_RUNTIME =1>
125125 LIBSQL_EXTRA_PRAGMAS=1
126126 LIBSQL_CUSTOM_PAGER_CODEC=1
127+ LIBSQL_ENCRYPTION=1
127128
128129 SQLITE_ENABLE_DBSTAT_VTAB=1
129130 SQLITE_ENABLE_DBPAGE_VTAB=1
You can’t perform that action at this time.
0 commit comments