gpg: Fix a practical hang after use of --faked-system-time.
authorWerner Koch <wk@gnupg.org>
Thu, 1 Oct 2015 15:59:03 +0000 (17:59 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 1 Oct 2015 15:59:22 +0000 (17:59 +0200)
commit2acceba5cc299796c7b5b1851a9baeb75d9f32a1
treeb33ee9a297a5e858abc0691a25d8e3f36855cf84
parent2c60663a72f090573c4869e305b098b4b1fb23bd
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 <wk@gnupg.org>
g10/packet.h
g10/sign.c