scd: Improve error handling.
authorJustus Winter <justus@g10code.com>
Tue, 17 Nov 2015 17:05:51 +0000 (18:05 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 14:46:29 +0000 (15:46 +0100)
commit6a37b45a7f13cf5d2ae7d6c9cd796a4bd197b80d
tree5d711e5d155eb29e60f6e1efa47de57c7f035ef7
parentf596f8defa5add33d2b4f381c317e1a006cda1fb
scd: Improve error handling.

* scd/app-openpgp.c (get_public_key): Improve error handling.
--
Found using the Clang Static Analyzer.

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