aboutsummaryrefslogtreecommitdiffstats
path: root/agent/divert-scd.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/divert-scd.c')
-rw-r--r--agent/divert-scd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/divert-scd.c b/agent/divert-scd.c
index 67c9f4640..49768feed 100644
--- a/agent/divert-scd.c
+++ b/agent/divert-scd.c
@@ -326,8 +326,11 @@ divert_pksign (ctrl_t ctrl,
if (algo == GCRY_MD_USER_TLS_MD5SHA1)
{
+ int save = ctrl->use_auth_call;
+ ctrl->use_auth_call = 1;
rc = agent_card_pksign (ctrl, kid, getpin_cb, ctrl,
digest, digestlen, &sigval, &siglen);
+ ctrl->use_auth_call = save;
}
else
{