mirror of
https://github.com/status-im/sqlcipher.git
synced 2026-08-30 22:11:14 +00:00
deprecate cipher_store_pass
This commit is contained in:
@@ -214,6 +214,17 @@ do_test verify-cipher-store-pass-before-key-does-not-segfault {
|
||||
db close
|
||||
file delete -force test.db
|
||||
|
||||
# verify setting cipher_store_pass results in deprecation warning
|
||||
do_test verify-cipher-store-pass-deprecated {
|
||||
sqlite_orig db test.db
|
||||
execsql {
|
||||
PRAGMA key = 'test';
|
||||
PRAGMA cipher_store_pass = 1;
|
||||
}
|
||||
} {ok {PRAGMA cipher_store_pass is deprecated, please remove from use}}
|
||||
db close
|
||||
file delete -force test.db
|
||||
|
||||
# verify the pragma cipher
|
||||
# reports the default value
|
||||
if_built_with_openssl verify-pragma-cipher-default {
|
||||
|
||||
Reference in New Issue
Block a user