mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-21 19:48:05 +01:00
g10: End transaction earlier.
* g10/tofu.c (ask_about_binding): End the transaction earlier. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
b410a3cb76
commit
85fad6c34c
@ -1414,6 +1414,7 @@ ask_about_binding (ctrl_t ctrl,
|
||||
" order by fingerprint = ? asc, fingerprint desc, time_ago desc;\n",
|
||||
GPGSQL_ARG_STRING, email, GPGSQL_ARG_STRING, fingerprint,
|
||||
GPGSQL_ARG_END);
|
||||
end_transaction (ctrl, 0);
|
||||
if (rc)
|
||||
{
|
||||
strlist_t strlist_iter;
|
||||
@ -1680,8 +1681,6 @@ ask_about_binding (ctrl_t ctrl,
|
||||
}
|
||||
}
|
||||
|
||||
end_transaction (ctrl, 0);
|
||||
|
||||
if ((*policy == TOFU_POLICY_NONE && bindings_with_this_email_count > 0)
|
||||
|| (*policy == TOFU_POLICY_ASK
|
||||
&& (conflict || bindings_with_this_email_count > 0)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user