mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
sm: Remove unused arg SECRET from keydb functions.
* sm/keydb.c (struct resource_item): Remove field 'secret'. (keydb_add_resource): Remove arg 'secret' and change all callers. (keydb_new): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
ee08677d63
commit
c8044c6e33
14 changed files with 31 additions and 42 deletions
|
@ -150,7 +150,7 @@ gpgsm_export (ctrl_t ctrl, strlist_t names, estream_t stream)
|
|||
goto leave;
|
||||
}
|
||||
|
||||
hd = keydb_new (0);
|
||||
hd = keydb_new ();
|
||||
if (!hd)
|
||||
{
|
||||
log_error ("keydb_new failed\n");
|
||||
|
@ -338,8 +338,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream, int rawmode)
|
|||
void *data;
|
||||
size_t datalen;
|
||||
|
||||
|
||||
hd = keydb_new (0);
|
||||
hd = keydb_new ();
|
||||
if (!hd)
|
||||
{
|
||||
log_error ("keydb_new failed\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue