gpg: Detect race between pubring.gpg and pubring.kbx use.
authorWerner Koch <wk@gnupg.org>
Thu, 14 Jan 2016 17:29:26 +0000 (18:29 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 14 Jan 2016 17:29:26 +0000 (18:29 +0100)
commit3b1248e007a6bf830a3230ee2d9cc548205ec31a
tree257ab446cba5c69fc85dd8980939a4e40486bf31
parent8241ed59d05e06252647b26477ed5c2f84895a26
gpg: Detect race between pubring.gpg and pubring.kbx use.

* g10/keydb.c (maybe_create_keyring_or_box): Detect race condition.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keydb.c