diff options
author | Andre Heinecke <[email protected]> | 2015-06-24 16:55:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-06-25 11:03:39 +0000 |
commit | 5e1a844ae9b6730b4b8a2c9178ea9bc121560c28 (patch) | |
tree | 192c4ca6eb26f8dc612d31690121a5d4f8eccea5 /agent/command.c | |
parent | Allow use of debug flag names for all tools. (diff) | |
download | gnupg-5e1a844ae9b6730b4b8a2c9178ea9bc121560c28.tar.gz gnupg-5e1a844ae9b6730b4b8a2c9178ea9bc121560c28.zip |
sm: Fix cert storage for ephemeral certs
* sm/keydb.c (keydb_store_cert): Clear ephemeral flag for
existing certs if store should not be ephemeral.
--
Previously keydb_store_cert would ignore ephemeral certificates
when asked to store a non ephemeral certificate and insert
it again without the flags. This resulted in duplicated
certificates in the keybox.
GnuPG-bug-id: 1921
Signed-off-by: Andre Heinecke <[email protected]>
Diffstat (limited to 'agent/command.c')
0 files changed, 0 insertions, 0 deletions