1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

agent: Add oTkdaemonProgram.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-03-13 14:14:48 +09:00
parent d0855b1204
commit 5d515d7059
No known key found for this signature in database
GPG key ID: 640114AF89DE6054
2 changed files with 7 additions and 2 deletions

View file

@ -976,7 +976,6 @@ do_pksign (struct key *key, int hash_algo,
return err;
}
#define ENVNAME "PKCS11_MODULE"
gpg_error_t
token_slotlist (ctrl_t ctrl, assuan_context_t ctx)
@ -1152,7 +1151,7 @@ token_readkey (ctrl_t ctrl, assuan_context_t ctx, const char *keygrip)
unsigned long r;
(void)ctrl;
(void)ctx;
r = find_key (ck, keygrip, &k);
if (r)
return gpg_error (GPG_ERR_NO_SECKEY);