diff options
author | Ingo Klöcker <[email protected]> | 2022-01-13 15:30:56 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-01-13 15:30:56 +0000 |
commit | e16729edcbdf2c35e3729b6d54c21b9b27250326 (patch) | |
tree | aa25a12e425366b0faacd0b576305431de0e95d8 /lang/cpp/src/util.cpp | |
parent | tests: Remove unsupported option --status from usage help (diff) | |
download | gpgme-e16729edcbdf2c35e3729b6d54c21b9b27250326.tar.gz gpgme-e16729edcbdf2c35e3729b6d54c21b9b27250326.zip |
tests: Fix generation of keys without expiration
* tests/run-genkey.c (parse_expire_string): Support default expiration
and no expiration. Set flag for no expiration.
(main): Allow update of flags when generating new key.
--
This makes the parsing of different values for expiration match the
parsing done by gpg's --quick-gen-key. In particular, this makes it
possible again to generate keys without expiration.
Diffstat (limited to 'lang/cpp/src/util.cpp')
0 files changed, 0 insertions, 0 deletions