g10: Fix iteration over getkey results.
authorJustus Winter <justus@g10code.com>
Thu, 27 Oct 2016 13:31:30 +0000 (15:31 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 27 Oct 2016 13:31:30 +0000 (15:31 +0200)
commit8ea72a776a88f3c851e812d258355be80caa1bc1
tree303d1065ad27ed2861dc1e025089c6f68e3c0fd2
parent445f0c13d751f6dee9d70ef0785866ab2a7ea120
g10: Fix iteration over getkey results.

* g10/getkey.c (getkey_next): Return the public key in PK even if
RET_KEYBLOCK is NULL.

Signed-off-by: Justus Winter <justus@g10code.com>
g10/getkey.c