mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* pkclist.c (build_pk_list): Do not allow an empty PK list in interactive
mode. * getkey.c (get_seckey_byname2): Disallow use of sign+encrypt Elgamal keys.
This commit is contained in:
parent
20d83b24ee
commit
5473ac9deb
3 changed files with 12 additions and 4 deletions
|
@ -880,7 +880,8 @@ build_pk_list( STRLIST rcpts, PK_LIST *ret_pk_list, unsigned use )
|
|||
char *answer=NULL;
|
||||
STRLIST backlog=NULL;
|
||||
|
||||
any_recipients = 1;
|
||||
if(pk_list)
|
||||
any_recipients = 1;
|
||||
def_rec = default_recipient();
|
||||
have_def_rec = !!def_rec;
|
||||
if( !have_def_rec )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue