mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpgsm.c, gpgsm.h: Add local_user.
* sign.c (gpgsm_get_default_cert): New. (get_default_signer): Use the new function if local_user is not set otherwise used that value. * encrypt.c (get_default_recipient): Removed. (gpgsm_encrypt): Use gpgsm_get_default_cert. * verify.c (gpgsm_verify): Better error text for a bad signature found by comparing the hashs.
This commit is contained in:
parent
dfda938ee9
commit
c8454f792d
9 changed files with 96 additions and 55 deletions
|
@ -233,7 +233,7 @@ gpgsm_list_keys (CTRL ctrl, STRLIST names, FILE *fp, unsigned int mode)
|
|||
int have_secret;
|
||||
|
||||
#warning there is no key selection yet
|
||||
/* We must take care of qouting here */
|
||||
/* We must take care of quoting here */
|
||||
hd = keydb_new (0);
|
||||
if (!hd)
|
||||
rc = GNUPG_General_Error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue