diff options
author | Neal H. Walfield <[email protected]> | 2015-09-14 18:38:07 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-09-16 13:15:22 +0000 |
commit | 911fcca36d61afd061e9e6dc0584bb069353db89 (patch) | |
tree | 8c5221c7840ad889120b6ff7ff7336b79f9ddeac /g10/pkclist.c | |
parent | g10: Eliminate the redundant function get_pubkey_byname. (diff) | |
download | gnupg-911fcca36d61afd061e9e6dc0584bb069353db89.tar.gz gnupg-911fcca36d61afd061e9e6dc0584bb069353db89.zip |
g10: Simplify semantics of get_pubkey_byname.
* g10/getkey.c (get_pubkey_byname): If R_KEYBLOCK is not NULL, return
the keyblock in R_KEYBLOCK independent of whether PK is set or not.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Currently, no caller invokes get_pubkey_byname with PK==NULL and
R_KEYBLOCK != NULL. Thus, this change does not change any behavior.
Diffstat (limited to 'g10/pkclist.c')
0 files changed, 0 insertions, 0 deletions