aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-01 15:59:03 +0000
committerWerner Koch <[email protected]>2015-10-01 15:59:22 +0000
commit2acceba5cc299796c7b5b1851a9baeb75d9f32a1 (patch)
treeb33ee9a297a5e858abc0691a25d8e3f36855cf84 /g10/packet.h
parentgpg: Print more info with "check selfsig". (diff)
downloadgnupg-2acceba5cc299796c7b5b1851a9baeb75d9f32a1.tar.gz
gnupg-2acceba5cc299796c7b5b1851a9baeb75d9f32a1.zip
gpg: Fix a practical hang after use of --faked-system-time.
* g10/sign.c (update_keysig_packet): Bail out if we would need to long for a new timestamp. 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 1906ec590..eb7da7520 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -663,7 +663,7 @@ int make_keysig_packet( PKT_signature **ret_sig, PKT_public_key *pk,
int (*mksubpkt)(PKT_signature *, void *),
void *opaque,
const char *cache_nonce);
-int update_keysig_packet( PKT_signature **ret_sig,
+gpg_error_t update_keysig_packet (PKT_signature **ret_sig,
PKT_signature *orig_sig,
PKT_public_key *pk,
PKT_user_id *uid,