diff options
author | Neal H. Walfield <[email protected]> | 2016-09-16 13:17:51 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-09-16 13:35:19 +0000 |
commit | c2e563421e4fd4f0910642aa7b171bcf0b374b01 (patch) | |
tree | 1babf755911dff9c67071c91f911f0f3db9e279e | |
parent | g10: Use the accessor functions for accessing and comparing key ids (diff) | |
download | gnupg-c2e563421e4fd4f0910642aa7b171bcf0b374b01.tar.gz gnupg-c2e563421e4fd4f0910642aa7b171bcf0b374b01.zip |
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/tofu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/tofu.c b/g10/tofu.c index 7f07483d8..9a60223b6 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -3023,7 +3023,7 @@ tofu_register_encryption (ctrl_t ctrl, if (/* We need the key block to find the primary key. */ keyid_cmp (pk_keyid (pk), pk_main_keyid (pk)) != 0 /* We need the key block to find all user ids. */ - || user_id_list) + || ! user_id_list) kb = get_pubkeyblock (pk->keyid); /* Make sure PK is a primary key. */ |