gpg: Print a warning if the subkey expiration may not be what you want.
authorWerner Koch <wk@gnupg.org>
Mon, 26 Jan 2015 13:55:24 +0000 (14:55 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 26 Jan 2015 13:55:24 +0000 (14:55 +0100)
commit2424028fd9c525d340db461cc19f8e01a13a2395
tree7785900802eb5a7b351d6b3caa0f4e3cfb5e60e3
parent01d69028396a128828f7af015348b0b146a55bfe
gpg: Print a warning if the subkey expiration may not be what you want.

* g10/keyedit.c (subkey_expire_warning): New.
keyedit_menu): Call it when needed.
--
GnuPG-bug-id: 1715

The heuristic to detect a problem is not very advanced but it should
catch the most common cases.

(backported from commit ae3d1bbb65b65cf3c57bb14886be120f5e31635d)
g10/keyedit.c