diff --git a/agent/ChangeLog b/agent/ChangeLog index fd24855bb..3b5999c1a 100644 --- a/agent/ChangeLog +++ b/agent/ChangeLog @@ -1,3 +1,7 @@ +2006-10-06 Werner Koch + + * divert-scd.c (divert_pksign): Use PKAUTH for the TLS algo. + 2006-10-05 Werner Koch * command.c (has_option_name): New. 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 {