fix for non C++11-compilers (mac); refs #28

This commit is contained in:
Marc Wäckerlin
2014-04-02 06:57:31 +00:00
parent dd275dc489
commit 2e697d3998

View File

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