summaryrefslogtreecommitdiffstats
path: root/g10/ChangeLog
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-04-29 15:07:11 +0200
committerWerner Koch <wk@gnupg.org>2011-04-29 15:07:11 +0200
commitafe5c1a370ef1d01fd3a4c66dfd231d4a9bfc498 (patch)
treef700ffeea1208b761afbbce24058c4260f3dfc1b /g10/ChangeLog
parentUpdate OpenPGP parser to support ECC (diff)
downloadgnupg2-afe5c1a370ef1d01fd3a4c66dfd231d4a9bfc498.tar.xz
gnupg2-afe5c1a370ef1d01fd3a4c66dfd231d4a9bfc498.zip
Re-indentation of keydb.c and error code changes.
Returning -1 as an error code is not very clean given that gpg error has more descriptive error codes. Thus we now return GPG_ERR_NOT_FOUND for all search operations and adjusted all callers.
Diffstat (limited to 'g10/ChangeLog')
-rw-r--r--g10/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index bd53799b5..61e2020f9 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,16 @@
+2011-04-29 Werner Koch <wk@g10code.com>
+
+ * keydb.c (keydb_get_keyblock, keydb_add_resource): Use gpg_error.
+ (keydb_get_keyblock): Return VALUE_NOT_FOUND instead of -1.
+ (keydb_update_keyblock, keydb_insert_keyblock)
+ (keydb_delete_keyblock): Ditto.
+ (keydb_locate_writable): Ditto.
+ (keydb_search_reset): Ditto.
+ (keydb_search2): Return GPG_ERR_NOT_FOUND instead of -1. Change
+ all callers.
+ (keydb_search_first, keydb_search_next, keydb_search_kid)
+ (keydb_search_fpr): Ditto.
+
2011-04-28 Werner Koch <wk@g10code.com>
* ecdh.c (pk_ecdh_encrypt_with_shared_point): Remove memory leak