mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
sm: Add arg ctrl to keydb_new.
* sm/keydb.c (keydb_new): Add arg and change all callers. -- This will be used later.
This commit is contained in:
parent
90d0072165
commit
a7d006293e
13 changed files with 24 additions and 22 deletions
|
@ -323,7 +323,7 @@ gpgsm_add_to_certlist (ctrl_t ctrl, const char *name, int secret,
|
|||
rc = classify_user_id (name, &desc, 0);
|
||||
if (!rc)
|
||||
{
|
||||
kh = keydb_new ();
|
||||
kh = keydb_new (ctrl);
|
||||
if (!kh)
|
||||
rc = gpg_error (GPG_ERR_ENOMEM);
|
||||
else
|
||||
|
@ -499,7 +499,7 @@ gpgsm_find_cert (ctrl_t ctrl,
|
|||
rc = classify_user_id (name, &desc, 0);
|
||||
if (!rc)
|
||||
{
|
||||
kh = keydb_new ();
|
||||
kh = keydb_new (ctrl);
|
||||
if (!kh)
|
||||
rc = gpg_error (GPG_ERR_ENOMEM);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue