ssl: fix compilation against non debug mbedtls
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 Dec 2016 23:18:37 +0000 (00:18 +0100)
committerKevin Kane <kkane@microsoft.com>
Wed, 15 Feb 2017 17:41:52 +0000 (17:41 +0000)
commitf869eb49605674f112b19e5e03e0e144bf389456
treef3d94dc3a2c52b28468b8f351e792efb34e4f7cd
parent7d1b318399acf4ddb306849fd1ae08b43540ebbd
ssl: fix compilation against non debug mbedtls

The function mbedtls_debug_set_threshold() is only available when
MBEDTLS_DEBUG_C is set. make the call depend on this condition.

Change-Id: I8158bc4c55b428167e36084e7a46359c269c5fc7
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15119
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
resource/csdk/connectivity/src/adapter_util/ca_adapter_net_ssl.c