mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
g10: Load the key block if the supplied user id list is NULL.
* g10/tofu.c (tofu_register_encryption): Load the key block if USER_ID_LIST is NULL. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
af196342bf
commit
c2e563421e
@ -3023,7 +3023,7 @@ tofu_register_encryption (ctrl_t ctrl,
|
|||||||
if (/* We need the key block to find the primary key. */
|
if (/* We need the key block to find the primary key. */
|
||||||
keyid_cmp (pk_keyid (pk), pk_main_keyid (pk)) != 0
|
keyid_cmp (pk_keyid (pk), pk_main_keyid (pk)) != 0
|
||||||
/* We need the key block to find all user ids. */
|
/* We need the key block to find all user ids. */
|
||||||
|| user_id_list)
|
|| ! user_id_list)
|
||||||
kb = get_pubkeyblock (pk->keyid);
|
kb = get_pubkeyblock (pk->keyid);
|
||||||
|
|
||||||
/* Make sure PK is a primary key. */
|
/* Make sure PK is a primary key. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user