diff options
author | David Shaw <[email protected]> | 2003-11-27 14:47:00 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-11-27 14:47:00 +0000 |
commit | 5473ac9deb3a51b35d52e2dbdc53e4569e93f2c3 (patch) | |
tree | fe1931a1fead9ac42568175173830f27bc32b669 /g10/pkclist.c | |
parent | Solved cvs conflict (diff) | |
download | gnupg-5473ac9deb3a51b35d52e2dbdc53e4569e93f2c3.tar.gz gnupg-5473ac9deb3a51b35d52e2dbdc53e4569e93f2c3.zip |
* 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.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index e289acb35..7a9ac8137 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -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 ) |