Werner Koch 2a39bd6c30
core: Detect unreadable keyrings.
* src/keylist.c (op_data_t): Add field keydb_search_err.
(keylist_status_handler): Parse STATUS_ERROR into that var.
(gpgme_op_keylist_next): Use that err instead of GPG_ERR_EOF.
--

With a recent GnuPG version this allows to detect a keyring with wrong
permissions (i.e. no read access).  GPG_ERR_OPEN_KEYRING will be
returned instead of GPG_ERR_EOF.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-11-10 17:13:34 +01:00
..
2016-09-27 12:41:38 +02:00
2016-09-23 16:09:27 +02:00
2015-08-30 19:04:44 +02:00
2016-09-13 20:53:49 +02:00
2015-12-02 11:28:07 +01:00
2016-09-14 12:42:12 +02:00
2016-09-13 20:53:49 +02:00
2014-10-02 15:57:50 +02:00
2016-11-10 17:13:34 +01:00
2016-09-14 18:59:55 +02:00
2016-09-27 12:41:38 +02:00
2016-09-13 20:53:49 +02:00
2013-08-09 19:19:26 +02:00
2013-08-09 19:19:26 +02:00
2016-09-13 20:53:49 +02:00
2015-03-16 13:40:34 +01:00
2016-09-13 20:53:49 +02:00
2012-10-24 16:44:34 +02:00
2016-09-21 09:18:01 +02:00
2016-09-13 20:53:49 +02:00
2016-09-13 20:53:49 +02:00
2015-12-02 11:28:07 +01:00
2015-12-02 11:28:07 +01:00
2015-12-02 11:28:07 +01:00
2016-09-13 20:53:49 +02:00