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

master
Marc Wäckerlin 11 years ago
parent dd275dc489
commit 2e697d3998
  1. 4
      src/cryptoki.hxx

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

Loading…
Cancel
Save