diff --git a/doc/examples/cryptoki-sign-demo.cxx b/doc/examples/cryptoki-sign-demo.cxx index 056593e..659827a 100644 --- a/doc/examples/cryptoki-sign-demo.cxx +++ b/doc/examples/cryptoki-sign-demo.cxx @@ -29,7 +29,7 @@ int main(int argc, char** argv) try { std::string lib("libcvP11.so"); std::string slot; std::string cert; - + mrw::args::parse(argc, argv, "Sign a text (optionally several times for performance" " measurements).", @@ -64,7 +64,7 @@ int main(int argc, char** argv) try { cryptoki::SlotInfo si(s->slotinfo()); if (slot.size()&&slot!=si.slotDescription) continue; std::cout<<"Found Slot: "<tokeninfo()); + cryptoki::TokenInfo ti(s->tokeninfo()); std::cout<<"Found token: "<