diff options
| author | Werner Koch <[email protected]> | 2010-04-21 16:26:17 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2010-04-21 16:26:17 +0000 |
| commit | a1412b05debe693e6aabaf2c2c337bc33f7dfd41 (patch) | |
| tree | 214dc8928b73aaa385d69eaa180164318ff0bb93 /g10/revoke.c | |
| parent | Disable card support for now (diff) | |
| download | gnupg-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.tar.gz gnupg-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.zip | |
More changes on the way to remove secring.gpg.
Diffstat (limited to 'g10/revoke.c')
| -rw-r--r-- | g10/revoke.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/revoke.c b/g10/revoke.c index 216c60389..c348a89d5 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -219,7 +219,7 @@ gen_desig_revoke( const char *uname, strlist_t locusr ) afx = new_armor_context (); - kdbhd = keydb_new (0); + kdbhd = keydb_new (); rc = classify_user_id (uname, &desc); if (!rc) rc = keydb_search (kdbhd, &desc, 1); @@ -461,7 +461,8 @@ gen_revoke (const char *uname) init_packet( &pkt ); /* Search the userid; we don't want the whole getkey stuff here. */ - kdbhd = keydb_new (1); + log_debug ("FIXME: This needs to be adjusted for public key based lookups\n"); + kdbhd = keydb_new (); rc = classify_user_id (uname, &desc); if (!rc) rc = keydb_search (kdbhd, &desc, 1); |
