|
|
@ -2017,7 +2017,7 @@ namespace cryptoki { |
|
|
|
Attribute res; |
|
|
|
Attribute res; |
|
|
|
CK_ATTRIBUTE attr; |
|
|
|
CK_ATTRIBUTE attr; |
|
|
|
attr.type = a; |
|
|
|
attr.type = a; |
|
|
|
attr.pValue = 0: |
|
|
|
attr.pValue = 0; |
|
|
|
attr.ulValueLen = 0; |
|
|
|
attr.ulValueLen = 0; |
|
|
|
//! calls @c C_GetAttributeValue
|
|
|
|
//! calls @c C_GetAttributeValue
|
|
|
|
if (!check(_session._slot.library()->C_GetAttributeValue |
|
|
|
if (!check(_session._slot.library()->C_GetAttributeValue |
|
|
@ -2144,7 +2144,7 @@ namespace cryptoki { |
|
|
|
it!=attrs.end(); ++it) { |
|
|
|
it!=attrs.end(); ++it) { |
|
|
|
CK_ATTRIBUTE attr; |
|
|
|
CK_ATTRIBUTE attr; |
|
|
|
attr.type = *it; |
|
|
|
attr.type = *it; |
|
|
|
attr.pValue = 0: |
|
|
|
attr.pValue = 0; |
|
|
|
attr.ulValueLen = 0; |
|
|
|
attr.ulValueLen = 0; |
|
|
|
try { |
|
|
|
try { |
|
|
|
//! calls @c C_GetAttributeValue
|
|
|
|
//! calls @c C_GetAttributeValue
|
|
|
|