}
else if(OIC_RANDOM_DEVICE_PIN == newDoxm->oxmSel)
{
+#ifdef __WITH_DTLS__
//this temp Credential ID is used to track temporal Cred Id
static OicUuid_t tmpCredId = {.id={0}};
static bool tmpCredGenFlag = false;
+#endif //__WITH_DTLS__
if ((false == gDoxm->owned) && (false == newDoxm->owned))
{
size_t bytesRead = ps->read(jsonStr, 1, size, fp);
jsonStr[bytesRead] = '\0';
- OC_LOG_V(DEBUG, TAG, "Read %d bytes from SVR database file", bytesRead);
+ OC_LOG_V(DEBUG, TAG, "Read %zu bytes from SVR database file", bytesRead);
ps->close(fp);
fp = NULL;
}
{
ret = OC_STACK_OK;
}
- OC_LOG_V(DEBUG, TAG, "Written %d bytes into SVR database file", bytesWritten);
+ OC_LOG_V(DEBUG, TAG, "Written %zu bytes into SVR database file", bytesWritten);
ps->close(fp);
fp = NULL;
}