diff options
| author | Werner Koch <[email protected]> | 2020-09-25 09:52:11 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-09-25 09:53:05 +0000 |
| commit | f8fbd9e7346ee0c3b09271ec2cdb589282eae1c9 (patch) | |
| tree | c4d8241a8c725d286eb71529286eb3ea50cd4d67 /dirmngr/crlfetch.c | |
| parent | scd: For PC/SC, send the ESC command at init for SPR532 reader. (diff) | |
| download | gnupg-f8fbd9e7346ee0c3b09271ec2cdb589282eae1c9.tar.gz gnupg-f8fbd9e7346ee0c3b09271ec2cdb589282eae1c9.zip | |
keyboxd: Make use of the config table
* kbx/backend-sqlite.c (DATABASE_VERSION): New.
(table_definitions): Make column name of table config unique.
(create_or_open_database): Read and set the database version.
(get_config_value, set_config_value): New.
--
Well, kind of. For now we just store the database version. Note that
for existing databases the config table should first be dropped so
that the UNIQUE constraint can be used.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/crlfetch.c')
0 files changed, 0 insertions, 0 deletions
