aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rfc822parse.c
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2016-09-01 10:42:44 +0000
committerNeal H. Walfield <[email protected]>2016-09-01 10:43:34 +0000
commit4cbd2a690c5e5ed2dff49c1f4fc867b31fca689a (patch)
tree6b25a27ad61b0249f3fd55e2ff86e0361a5a69d5 /tools/rfc822parse.c
parenttests: Run test requiring the network only in maintainer-mode. (diff)
downloadgnupg-4cbd2a690c5e5ed2dff49c1f4fc867b31fca689a.tar.gz
gnupg-4cbd2a690c5e5ed2dff49c1f4fc867b31fca689a.zip
g10: Be careful to not be in a transaction during long operations
* g10/tofu.c (begin_transaction): New parameter only_batch. If set, only start a batch transaction if there is none and one has been requested. Update callers. (tofu_suspend_batch_transaction): New function. (tofu_resume_batch_transaction): Likewise. (ask_about_binding): Take a ctrl_t, not a tofu_dbs_t. Update callers. Gather statistics within a transaction. Suspend any batch transaction when getting user input. (get_trust): Take a ctrl_t, not a tofu_dbs_t. Update callers. Enclose in a transaction. (tofu_get_validity): Use a batch transaction, not a normal transaction. -- Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'tools/rfc822parse.c')
0 files changed, 0 insertions, 0 deletions