return;
}
- OIC_LOG_V(INFO, TAG, "Cert Buf Length: %lu", *crtBufLen);
+ OIC_LOG_V(INFO, TAG, "Cert Buf Length: %zu", *crtBufLen);
OIC_LOG(INFO, TAG, "[Cert Buf] : ");
OIC_LOG_BUFFER(INFO, TAG, crtBuf, *crtBufLen);
if (removed_total > 0)
{
// if length of signature is incorrect.
- OIC_LOG_V(INFO, TAG, "Cert Length (Before) : %lu", *derCrtBufLen);
+ OIC_LOG_V(INFO, TAG, "Cert Length (Before) : %zu", *derCrtBufLen);
OIC_LOG(INFO, TAG, "Invalid length of signature is dectected.");
OIC_LOG(INFO, TAG, "Update signature...");
*derCrtBufLen = (size_t)crt_len + remained_len;
mbedtls_x509_crt_free(&crt_cpy);
- OIC_LOG_V(INFO, TAG, "Dev cert : %lu -> %i", org_len, crt_len);
- OIC_LOG_V(INFO, TAG, "Remained chain : %lu", remained_len);
- OIC_LOG_V(INFO, TAG, "Cert Length (After) : %lu", *crtBufLen);
+ OIC_LOG_V(INFO, TAG, "Dev cert : %zu -> %u", org_len, crt_len);
+ OIC_LOG_V(INFO, TAG, "Remained chain : %zu", remained_len);
+ OIC_LOG_V(INFO, TAG, "Cert Length (After) : %zu", *crtBufLen);
}
}
else