- fix TLVHelper is not clear old member values.
- fis wrong callback assigned.
Change-Id: I96afe568afd66c74fa62fa4968735b8f9fda2159
GPOINTER_TO_UINT(context),
GPOINTER_TO_UINT(handle),
var_command, NULL,
- &ClientChannel::channel_close_cb, param);
+ &ClientChannel::channel_transmit_cb, param);
result = SCARD_ERROR_OK;
#else
{
PKCS15OID oid(tlv.getValue());
- _DBG("OID DataObject");
+ _DBG("OID DataObject : %s", oid.getOID().toString().c_str());
- pair<ByteArray, PKCS15OID> newPair(oid.getOID(), oid);
- mapOID.insert(newPair);
+ mapOID.insert(make_pair(oid.getOID(), oid));
}
break;
if (array.size() == 0)
return false;
+ currentTLV = this;
+ parentTLV = parent;
+ childTLV = NULL;
+ offset = 0;
+ currentT = 0;
+ currentL = 0;
+
tlvBuffer = array;
return true;