1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fixed a C-89 incompatibility.

Minor changes to make it build on Debian bo.
Thanks to Alain Guibert.
This commit is contained in:
Werner Koch 2008-04-23 17:23:04 +00:00
parent 08a612f26e
commit a7ced5d0b5
8 changed files with 99 additions and 1 deletions

View file

@ -702,12 +702,14 @@ find_up (ctrl_t ctrl, KEYDB_HANDLE kh,
rc = keydb_search_subject (kh, issuer);
if (rc == -1 && !find_next)
{
int old;
/* Also try to get it from the Dirmngr cache. The function
merely puts it into the ephemeral database. */
find_up_dirmngr (ctrl, kh, NULL, issuer, 0);
/* Not found, let us see whether we have one in the ephemeral key DB. */
int old = keydb_set_ephemeral (kh, 1);
old = keydb_set_ephemeral (kh, 1);
if (!old)
{
keydb_search_reset (kh);