IOT-2539 clean unused-function in credresource.c 79/22879/3
authorGeorge Nash <george.nash@intel.com>
Tue, 17 Oct 2017 21:14:53 +0000 (14:14 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Thu, 19 Oct 2017 17:27:14 +0000 (17:27 +0000)
commit5fc3762377f40c3e8122ef3e47773eba4d36ef1e
treed259f50311771c46eb537176fff9e7d8476ce913
parent4fb639be2859993d22a903b5e9a2fa45b8c461f6
IOT-2539 clean unused-function in credresource.c

When built with build option SECURED=0 some functions
are no longer used due to preprocessor macros.

The functions WithinBounds and IsEmptyCred were moved
within the
if defined(__WITH_DTLS__) || defined(__WITH_TLS__)
macro

Bug: https://jira.iotivity.org/browse/IOT-2539
Change-Id: I9c0e3fa57dee5531bd9661216f2b5160fb002f33
Signed-off-by: George Nash <george.nash@intel.com>
resource/csdk/security/src/credresource.c