mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
* sign.c (write_signature_packets): Lost a digest_algo line.
This commit is contained in:
parent
cbc5c947d5
commit
5bce704dd3
@ -1,5 +1,7 @@
|
||||
2006-01-01 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* sign.c (write_signature_packets): Lost a digest_algo line.
|
||||
|
||||
* sign.c (hash_for): Add code to detect if the sk lives on a smart
|
||||
card. If it does, only allow 160-bit hashes, a la DSA. This
|
||||
involves passing the *sk in, so change all callers. This is
|
||||
|
@ -655,6 +655,7 @@ write_signature_packets (SK_LIST sk_list, IOBUF out, MD_HANDLE hash,
|
||||
else
|
||||
sig->version=sk->version;
|
||||
keyid_from_sk (sk, sig->keyid);
|
||||
sig->digest_algo = hash_for(sk);
|
||||
sig->pubkey_algo = sk->pubkey_algo;
|
||||
if(timestamp)
|
||||
sig->timestamp = timestamp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user