aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-05-13 10:38:32 +0000
committerWerner Koch <[email protected]>2019-05-13 10:39:17 +0000
commitd07666412d4317460c6f03b3ffd03edf4a715ef7 (patch)
tree3cb40ac32c45abe181769091b64726a9cb673dae /g10/packet.h
parentbuild: Update m4/iconv.m4. (diff)
downloadgnupg-d07666412d4317460c6f03b3ffd03edf4a715ef7.tar.gz
gnupg-d07666412d4317460c6f03b3ffd03edf4a715ef7.zip
gpg: Cleanup use of make_keysig_packet.
* g10/sign.c (make_keysig_packet): Remove obsolete arg diegst_algo which was always passed as 0. Change all callers. * g10/gpgcompose.c (signature): Warn when trying to set a digest algo. -- Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/packet.h b/g10/packet.h
index d05a8f0f2..d787bde9e 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -931,7 +931,7 @@ int ask_for_detached_datafile( gcry_md_hd_t md, gcry_md_hd_t md2,
int make_keysig_packet (ctrl_t ctrl,
PKT_signature **ret_sig, PKT_public_key *pk,
PKT_user_id *uid, PKT_public_key *subpk,
- PKT_public_key *pksk, int sigclass, int digest_algo,
+ PKT_public_key *pksk, int sigclass,
u32 timestamp, u32 duration,
int (*mksubpkt)(PKT_signature *, void *),
void *opaque,