Fix 2 compiler warnings.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 18:02:56 +0000 (19:02 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 18:02:56 +0000 (19:02 +0100)
commitcb4c7abb774e2d95806d8b0ec6ea5cd130c1b5b8
treeead5a6b4e8cbefab773836c6ccba1abc33e417e5
parent4a04277ad112e0966296133795f93cf6a3daa48e
Fix 2 compiler warnings.

* dirmngr/loadswdb.c: Set ERR on malloc failure.
* g10/passphrase.c (passphrase_to_dek): Initialize all fields of
HELP_S2K.

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