Commit ef30103b authored by Aleksey's avatar Aleksey

Remove creds callback double check

Change-Id: I83c7f84ae2bfc202e8515165965969d2d9e415d4
Signed-off-by: Aleksey's avatarAleksey Volkov <>
parent 891e1d92
......@@ -1559,13 +1559,6 @@ static bool SetupCipher(mbedtls_ssl_config * config, CATransportAdapter_t adapte
g_caSslContext->cipherFlag[0] = false;
g_caSslContext->cipherFlag[1] = false;
if (NULL == g_getCredentialTypesCallback)
OIC_LOG(ERROR, NET_SSL_TAG, "Param callback is null");
OIC_LOG_V(DEBUG, NET_SSL_TAG, "Out %s", __func__);
return false;
g_getCredentialTypesCallback(g_caSslContext->cipherFlag, deviceId);
// Retrieve the PSK credential from SRM or use PIN based generation
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment