Make it also work for the card.

This commit is contained in:
Werner Koch 2006-10-06 11:06:15 +00:00
parent 5134fc27b3
commit 4d770bedc1
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-10-06 Werner Koch <wk@g10code.com>
* divert-scd.c (divert_pksign): Use PKAUTH for the TLS algo.
2006-10-05 Werner Koch <wk@g10code.com>
* command.c (has_option_name): New.

View File

@ -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
{