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>
Wed, 14 May 2014 06:56:36 +0000 (08:56 +0200)
commitb2945c451d3d3f25ba11a9fe88c6cbf3f88c2fb5
tree31cb5fd618fad1f2613ffdd38aa471e7b74c3e4e
parent4aeb02562c9db4b96366220b781e2b4fa2d6fd3b
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