gnupg/sm
Werner Koch 5d13581f47
gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource.
* g10/keydb.c (keydb_add_resource): Make ANY_REGISTERED
file-global.  Write a STATUS_ERROR.
(maybe_create_keyring_or_box): Check for non-accessible but existant
file.
(keydb_search): Write a STATUS_ERROR if no keyring has been registered
but continue to return NOT_FOUND.
* sm/keydb.c (keydb_add_resource): Rename ANY_PUBLIC to ANY_REGISTERED
and make file-global.  Write a STATUS_ERROR.
(keydb_search): Write a STATUS_ERROR if no keyring has been registered
but continue to return NOT_FOUND.  Also add new arg CTRL and change
all callers to pass it down.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-11-10 17:07:28 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
base64.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-agent.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
call-dirmngr.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
certchain.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
certcheck.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
certdump.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
certlist.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
certreqgen-ui.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
certreqgen.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
decrypt.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
delete.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
encrypt.c sm: Remove unused arg SECRET from keydb functions. 2016-11-10 17:04:03 +01:00
export.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
fingerprint.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
gpgsm.h gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
import.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
keydb.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
keydb.h gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
keylist.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
minip12.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
minip12.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
misc.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
server.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
sign.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
verify.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00