1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch e182542e90
gpg: Do not require a trustdb for decryption.
* g10/trustdb.c (init_trustdb): Add and implement arg NO_CREATE.
Change to return an error code.  Change all callers to to pass False
for NO_CREATE.
(tdb_get_ownertrust): New arg NO_CREATE.  Call init_trustdb to test
for a non-existing trustdb.  Change all callers to to pass False for
NO_CREATE.
(tdb_get_min_ownertrust): Ditto.
* g10/trust.c (get_ownertrust_with_min): Add arg NO_CREATE.  Call
init_trustdb for a quick check.
(get_ownertrust_info): Add arg NO_CREATE.
(get_ownertrust_string): Ditto.
* g10/gpgv.c (get_ownertrust_info): Adjust stub.
* g10/test-stubs.c (get_ownertrust_info): Ditto.
* g10/mainproc.c (list_node): Call get_ownertrust_info with NO_CREATE
set.
* g10/pubkey-enc.c (get_it): Ditto.
--

Fixes-commit: effa80e0b5fd8cf9e31a984afe391c2406edee8b

For details see mails on Feb 27 and 28 by dkg, gniibe, and Justus to
gnupg-devel 'test failure on git master with
decrypt-session-key.scm (and: continuous integration?)'

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-02-28 20:30:48 +01:00
..
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-11-29 16:48:35 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-01-18 10:07:53 +01:00
2017-02-25 22:46:32 -08:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-01-22 10:54:10 +01:00
2016-11-29 14:56:00 +01:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2017-01-23 19:16:55 +01:00
2016-03-08 14:08:49 +01:00
2017-02-21 13:11:46 -05:00
2016-12-06 12:16:56 +01:00