Home GnuPG
Diffusion GPGME a4945675ece2

cpp: Ensure that all transitions go from one state to a different state

Description

cpp: Ensure that all transitions go from one state to a different state

* src/gpgsignkeyeditinteractor.cpp (makeTable): Replace transitions from
CONFIRM to CONFIRM with transitions from CONFIRM to CONFIRM2 and vice
versa. Add transitions from CONFIRM2 to some other state for all
transitions from CONFIRM to some other state.

The state machine gets stuck if a transition doesn't change the state
but an action is required. To avoid this situation the CONFIRM2 state
was introduced, but it was not used correctly.

Taken from gpgmepp commit aee2b30482406e677dbddf1a68b2a11a5dc70adf

Details

Provenance
ikloeckerAuthored on Fri, Apr 11, 10:26 AM
wernerCommitted on Fri, Apr 11, 10:26 AM
Parents
rM56a51df5096d: Post release updates.
Branches
Unknown
Tags
Unknown
Tasks
T7600: Kleopatra: gpg.exe hangs on trying to exportably certify an already locally signed certificate with multiple UIDs