typos; refs #27
This commit is contained in:
@@ -29,7 +29,7 @@ int main(int argc, char** argv) try {
|
|||||||
std::string lib("libcvP11.so");
|
std::string lib("libcvP11.so");
|
||||||
std::string slot;
|
std::string slot;
|
||||||
std::string cert;
|
std::string cert;
|
||||||
|
|
||||||
mrw::args::parse(argc, argv,
|
mrw::args::parse(argc, argv,
|
||||||
"Sign a text (optionally several times for performance"
|
"Sign a text (optionally several times for performance"
|
||||||
" measurements).",
|
" measurements).",
|
||||||
@@ -64,7 +64,7 @@ int main(int argc, char** argv) try {
|
|||||||
cryptoki::SlotInfo si(s->slotinfo());
|
cryptoki::SlotInfo si(s->slotinfo());
|
||||||
if (slot.size()&&slot!=si.slotDescription) continue;
|
if (slot.size()&&slot!=si.slotDescription) continue;
|
||||||
std::cout<<"Found Slot: "<<si.slotDescription<<std::endl;
|
std::cout<<"Found Slot: "<<si.slotDescription<<std::endl;
|
||||||
cryptoki::TokenInfo ti(a->tokeninfo());
|
cryptoki::TokenInfo ti(s->tokeninfo());
|
||||||
std::cout<<"Found token: "<<ti.label<<std::endl;
|
std::cout<<"Found token: "<<ti.label<<std::endl;
|
||||||
cryptoki::Session session(*s);
|
cryptoki::Session session(*s);
|
||||||
cryptoki::ObjectList certs
|
cryptoki::ObjectList certs
|
||||||
|
Reference in New Issue
Block a user