master
Marc Wäckerlin 11 years ago
parent 79a5a9302e
commit 7b594f13c6
  1. 2
      doc/examples/cryptoki-sign-demo.cxx

@ -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

Loading…
Cancel
Save