another work around the mac 10.10 yosemite PCSC bug, this time fix cryptoki; refs #34

master
Marc Wäckerlin 10 years ago
parent 774d125693
commit 419e4865b7
  1. 2
      src/suisseid.hxx

@ -291,7 +291,7 @@ namespace suisseid {
for (cryptoki::ObjectList::iterator key(keys.begin()); for (cryptoki::ObjectList::iterator key(keys.begin());
key!=keys.end(); ++key) { key!=keys.end(); ++key) {
cryptoki::Attribute id(key->attribute(CKA_ID)); cryptoki::Attribute id(key->attribute(CKA_ID));
CRYPTOLOG("get certs for key with id "<<crypto::hex(id)); CRYPTOLOG("get certs for key with id "<<crypto::hex(id.value));
cryptoki::ObjectList certs cryptoki::ObjectList certs
(session().find(cryptoki::AttributeList() (session().find(cryptoki::AttributeList()
<<cryptoki::Attribute(CKA_CLASS) <<cryptoki::Attribute(CKA_CLASS)

Loading…
Cancel
Save