diff options
author | Werner Koch <wk@gnupg.org> | 2016-11-10 15:38:14 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-11-10 17:04:03 +0100 |
commit | c8044c6e335f044d7386b9e8869bc4a0d3adff70 (patch) | |
tree | 4bc00f75f37aa63f7e07a1133282a1570c3d8ac8 /sm/keydb.h | |
parent | gpgscm: Recover cells from the list of recently allocated cells. (diff) | |
download | gnupg2-c8044c6e335f044d7386b9e8869bc4a0d3adff70.tar.xz gnupg2-c8044c6e335f044d7386b9e8869bc4a0d3adff70.zip |
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>
Diffstat (limited to 'sm/keydb.h')
-rw-r--r-- | sm/keydb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sm/keydb.h b/sm/keydb.h index 5713fde30..bdf4a2de7 100644 --- a/sm/keydb.h +++ b/sm/keydb.h @@ -31,9 +31,8 @@ typedef struct keydb_handle *KEYDB_HANDLE; /*-- keydb.c --*/ -gpg_error_t keydb_add_resource (const char *url, int force, int secret, - int *auto_created); -KEYDB_HANDLE keydb_new (int secret); +gpg_error_t keydb_add_resource (const char *url, int force, int *auto_created); +KEYDB_HANDLE keydb_new (void); void keydb_release (KEYDB_HANDLE hd); int keydb_set_ephemeral (KEYDB_HANDLE hd, int yes); const char *keydb_get_resource_name (KEYDB_HANDLE hd); |