gpg: Fix glitch entering a full expiration time.
authorWerner Koch <wk@gnupg.org>
Wed, 14 May 2014 06:49:37 +0000 (08:49 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 3 Jun 2014 06:05:50 +0000 (08:05 +0200)
commit3c3d1ab35d17bce46dac8f806a8ce2dc90ac06ee
tree2d123d300d148eb62dcc2f5e1126016ff038d100
parent6af194038aebac71d539b3aa40465c8110591829
gpg: Fix glitch entering a full expiration time.

* g10/keygen.c (ask_expire_interval): Get the current time after the
prompt.
--

This almost avoid that an entered full ISO timestamp is not used as
given but off by the time the user required to enter the timestamp.

GnuPG-bug-id: 1639
g10/keygen.c