cpp: Fix handling of lsig promotion
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 7 Dec 2017 15:21:01 +0000 (16:21 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 7 Dec 2017 15:21:01 +0000 (16:21 +0100)
commit1458adaea4acdcf7ebbead6668476fce92db5af8
treeb5bd4147bf1bf3099629bbf072d10b118b894516
parent5ba1cbdf39efd90c7987bfc2bc030b6504e70076
cpp: Fix handling of lsig promotion

* src/gpgsignkeyeditinteractor.cpp (SignKeyState): Add second
CONFIRM state.
(makeTable): Properly handle local_promote_okay.
(action): Handle CONFIRM2.

--
This fixes changing a local signature to a "public" signature.

GnuPG-Bug-Id: T1649
lang/cpp/src/gpgsignkeyeditinteractor.cpp