cpp: Fix GenCardKeyInteractor and extend it
authorAndre Heinecke <aheinecke@gnupg.org>
Tue, 26 Mar 2019 11:02:28 +0000 (12:02 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Tue, 26 Mar 2019 11:02:28 +0000 (12:02 +0100)
commitffdb75217bc09561cf651dab15cd26e0024d89a7
tree8c6669b7a24684800412afcc593728f9549cfc8a
parent129def87b262241483ba3a8b6771ad6d07c2e3be
cpp: Fix GenCardKeyInteractor and extend it

* NEWS: Mention interface change.
* lang/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::setAlgo): New.
(GpgGenCardKeyInteractor::action),
(GpgGenCardKeyInteractor::nextState: Handle new interface.

--
Tested that this workes with the old interface of GnuPG 2.2.5
and the new interface since GnuPG 2.2.6

GnuPG-Bug-Id: T4428
NEWS
lang/cpp/src/gpggencardkeyinteractor.cpp
lang/cpp/src/gpggencardkeyinteractor.h