gpg: Return an error from hexfingerprint on malloc error.
authorWerner Koch <wk@gnupg.org>
Wed, 13 Dec 2017 09:52:34 +0000 (10:52 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 13 Dec 2017 09:52:34 +0000 (10:52 +0100)
commitcd26c5482b10bee7658959ae913f2ddb83190587
treef57eb9c03f12f92eb15fd41485e04c5dc680993b
parent29119a6492eda5dd7920e45e7f2faa043d436591
gpg: Return an error from hexfingerprint on malloc error.

* g10/keyid.c (hexfingerprint): Return NULL on malloc failure.  Chnage
all callers.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/export.c
g10/keygen.c
g10/keyid.c
g10/revoke.c
g10/tofu.c