another work around the mac 10.10 yosemite PCSC bug, this time fix cryptoki; refs #34
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user