1
0
Fork 0
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:
Werner Koch 2009-04-03 10:41:33 +00:00
parent a929f4c78e
commit 9b6deeddaf
3 changed files with 13 additions and 3 deletions

View file

@ -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);