mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
Make it also work for the card.
This commit is contained in:
parent
5134fc27b3
commit
4d770bedc1
@ -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>
|
2006-10-05 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* command.c (has_option_name): New.
|
* command.c (has_option_name): New.
|
||||||
|
@ -326,8 +326,11 @@ divert_pksign (ctrl_t ctrl,
|
|||||||
|
|
||||||
if (algo == GCRY_MD_USER_TLS_MD5SHA1)
|
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,
|
rc = agent_card_pksign (ctrl, kid, getpin_cb, ctrl,
|
||||||
digest, digestlen, &sigval, &siglen);
|
digest, digestlen, &sigval, &siglen);
|
||||||
|
ctrl->use_auth_call = save;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user