diff options
author | Andre Heinecke <[email protected]> | 2018-10-09 08:45:12 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-10-09 08:45:12 +0000 |
commit | ecfa88e65fda9c9766ad526d57e2fc8b2884f634 (patch) | |
tree | 5ce57f65ee8296a6ef8dbbd4f87a336b2027dcc7 /lang/cpp/src/context.cpp | |
parent | qt, tests: Add test for single get key (diff) | |
download | gpgme-ecfa88e65fda9c9766ad526d57e2fc8b2884f634.tar.gz gpgme-ecfa88e65fda9c9766ad526d57e2fc8b2884f634.zip |
core: Ensure r_key init in gpgme_get_key
* src/keylist.c (gpgme_get_key): Move r_key init above
the first invalid value check.
--
This fixes the case where someone passes an unitialized
r_key and no fingerprint.
Diffstat (limited to 'lang/cpp/src/context.cpp')
0 files changed, 0 insertions, 0 deletions