chiark / gitweb /
g10: Minor fixes.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 17 Apr 2017 00:15:13 +0000 (09:15 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commit8bea88128fd88ce86f36c6991a65b0958819091e
tree1407cc8079f5af6222374d7bc26f28982fbe7330
parent7984f871917a6fe554db7de61d99b3896d552960
g10: Minor fixes.

* g10/export.c (cleartext_secret_key_to_openpgp): No initialization.
(do_export_one_keyblock): Initialize with GPG_ERR_NOT_FOUND.
* g10/getkey.c (get_best_pubkey_byname): Add non-null check.
* g10/tofu.c (tofu_set_policy): ERR initialize to 0.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 0dec0cc281dfa26db89f8cc5ee002dea5c2b2e81)

Gbp-Pq: Name 0072-g10-Minor-fixes.patch
g10/export.c
g10/getkey.c
g10/tofu.c