aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-21 16:26:17 +0000
committerWerner Koch <[email protected]>2010-04-21 16:26:17 +0000
commita1412b05debe693e6aabaf2c2c337bc33f7dfd41 (patch)
tree214dc8928b73aaa385d69eaa180164318ff0bb93 /g10/keydb.c
parentDisable card support for now (diff)
downloadgnupg-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.tar.gz
gnupg-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.zip
More changes on the way to remove secring.gpg.
Diffstat (limited to 'g10/keydb.c')
-rw-r--r--g10/keydb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keydb.c b/g10/keydb.c
index a50a5a9d0..20cf63491 100644
--- a/g10/keydb.c
+++ b/g10/keydb.c
@@ -348,10 +348,11 @@ keydb_add_resource (const char *url, int flags, int secret)
KEYDB_HANDLE
-keydb_new (int secret)
+keydb_new (void)
{
KEYDB_HANDLE hd;
int i, j;
+ int secret = 0; /* FIXME: Remove the secret stuff all together. */
hd = xmalloc_clear (sizeof *hd);
hd->found = -1;