library/src/blockclass/BP-BlockClass.cc
// plays a SSL block, reads included
plays a SSL block, reads included
plays a SSL block reads included
BP_ERROR_T Block::SSLPlay()
{
	return ERR_SUCCESS;
}
BP_ERROR_T Block :: SSLPlay ( ) { return ERR_SUCCESS ; }
plays a SSL block, reads included
plays a SSL block reads included
/*
	// ensure we have a buffer list
	if(!this->bufferList)
		return ERR_FAILURE;

	// ensure we have a first pointer
	if(!this->bufferList->first)
		return ERR_FAILURE;

	// create simple retaining pointer
	P_DATA_LIST first = this->bufferList->first;

	// walk the list
	for
	(
			bufferList = bufferList->first;
			bufferList != NULL;
			bufferList = bufferList->next
	)
	{
		// do not send buffer (aka skip it) if its a RECV type
		// key difference from play here
		if (bufferList->dataType != BP_DATA_ENTRY_TYPE_READ)
		{

			if (bufferList->dataType != BP_DATA_ENTRY_TYPE_BINARY)
			{

				if (SSLSend(bufferList->readData, bufferList->dataSize) == -1)
				{
					return ERR_FAILURE;
				}

			} else
			{

				if (SSLSend(bufferList->binData, bufferList->dataSize) == -1)
				{
					return ERR_FAILURE;
				}

			}

		} else if (bufferList->dataType == BP_DATA_ENTRY_TYPE_READ)
		{

			if (SSLRecv(bufferList->data, bufferList->dataSize) == -1)
			{
				return ERR_FAILURE;
			}
		}
	}

	// reset bufferlist pointer
	bufferList = first;
	 */ // return indicating success