scd: Improve error handling.
authorJustus Winter <justus@g10code.com>
Tue, 17 Nov 2015 17:05:51 +0000 (18:05 +0100)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 29 Nov 2016 08:06:28 +0000 (17:06 +0900)
commitd87699597f4b47968902324c90beb3f3c51ff1d7
tree59a7dede686953415a9bf4bfe27d33a4abcb21db
parentd4316d13749bd8662525c2b7c416d39c5d4d8089
scd: Improve error handling.

* scd/app-openpgp.c (get_public_key): Improve error handling.
--
Backport master commit: 6a37b45a7f13cf5d2ae7d6c9cd796a4bd197b80d

Found using the Clang Static Analyzer.

Signed-off-by: Justus Winter <justus@g10code.com>
scd/app-openpgp.c