cpp: Return null key if the signature had no key
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 10 Oct 2016 15:36:41 +0000 (17:36 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 10 Oct 2016 15:36:41 +0000 (17:36 +0200)
commit34e9dfee81958160f6604849b63369ae4de67417
treea1318748495266a42c2bdcf94f3bf1677b0d036a
parentf131a5e72b0881cafcc3b0a91da8f050af2684a6
cpp: Return null key if the signature had no key

* lang/cpp/src/verificationresult.cpp (Private): Add null key
to list when there is no key associated with the signature.

--
This fixes an out of bounds read when a verification did
not have a key.
lang/cpp/src/verificationresult.cpp