Fix usage of SHA-2 algorithm with OpenPGP cards.
authorWerner Koch <wk@gnupg.org>
Wed, 2 Mar 2011 14:35:10 +0000 (15:35 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 2 Mar 2011 14:35:10 +0000 (15:35 +0100)
commit1c09def22d97de3738a2bec4970504bfc155680b
tree44fbc5d154ca96be68fb8e43c6695c8dba9580d5
parentb7f74f5b46a28d200627ab9b67763891190a8e15
Fix usage of SHA-2 algorithm with OpenPGP cards.

This was a regression in 2.1 introduced due to having the agent do the
signing in contrast to the old "SCD PKSIGN" command which accesses the
scdaemon directly and passed the hash algorithm.  The hash algorithm
is used by app-openpgp.c only for a sanity check.
agent/ChangeLog
agent/agent.h
agent/call-scd.c
agent/divert-scd.c
g10/ChangeLog
g10/call-agent.c
g10/call-agent.h