mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Better error message for a missing keyring.
Fixes Debian#494040.
This commit is contained in:
parent
a929f4c78e
commit
9b6deeddaf
3 changed files with 13 additions and 3 deletions
|
@ -178,9 +178,9 @@ main( int argc, char **argv )
|
|||
set_packet_list_mode(1);
|
||||
|
||||
if( !nrings ) /* no keyring given: use default one */
|
||||
keydb_add_resource ("trustedkeys" EXTSEP_S "gpg", 0, 0);
|
||||
keydb_add_resource ("trustedkeys" EXTSEP_S "gpg", 8, 0);
|
||||
for(sl = nrings; sl; sl = sl->next )
|
||||
keydb_add_resource (sl->d, 0, 0 );
|
||||
keydb_add_resource (sl->d, 8, 0 );
|
||||
|
||||
FREE_STRLIST(nrings);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue