Cpp: Use fpr field for primaryFingerprint
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 24 Aug 2016 11:57:49 +0000 (13:57 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 24 Aug 2016 11:57:49 +0000 (13:57 +0200)
commit40ea1c85773cbe324557c34b3a4282f609fcdaf6
tree7b63671f5dbdbcc7e32c9d5a66b52566ef6f6ce2
parent799b168243e6499ac01bf59e0656547f353a2589
Cpp: Use fpr field for primaryFingerprint

* lang/cpp/src/key.cpp (Key::primaryFingerprint): Return
fpr value if available.

--
Should not be necessary but we might have an incomplete
key without subkeys but the fingerprint already set in
gpgme's data type.
lang/cpp/src/key.cpp