master
Marc Wäckerlin 14 years ago
parent 1db5a9ab69
commit 73b5f17f9d
  1. 4
      src/cryptoki.hxx

@ -264,7 +264,7 @@ namespace cryptoki {
case CKO_HW_FEATURE: return "HW_FEATURE"; case CKO_HW_FEATURE: return "HW_FEATURE";
case CKO_DOMAIN_PARAMETERS: return "DOMAIN_PARAMETERS"; case CKO_DOMAIN_PARAMETERS: return "DOMAIN_PARAMETERS";
case CKO_VENDOR_DEFINED: return "VENDOR_DEFINED"; case CKO_VENDOR_DEFINED: return "VENDOR_DEFINED";
default: "unknown"; default: return "unknown";
} }
default: return crypto::readable(value); default: return crypto::readable(value);
} }
@ -1255,7 +1255,7 @@ namespace cryptoki {
Object(); // forbidden Object(); // forbidden
Object(Session& session, CK_OBJECT_HANDLE obj): Object(Session& session, CK_OBJECT_HANDLE obj):
_session(&session), _object(obj), _res(CKR_OK) { _object(obj), _session(&session), _res(CKR_OK) {
CRYPTOKI_LOG("log"); CRYPTOKI_LOG("log");
} }

Loading…
Cancel
Save