crypto functions are used by connectivity module
This prevents instalation of obsolete version,
like on jenkins:
https://build.iotivity.org/ci/job/iotivity-verify-tizen_unsecured/151/consoleFull
+ '[' '!' -d /home/jenkins-ci/workspace/iotivity-verify-tizen_unsecured/extlibs/mbedtls ']'
+ cp -r /home/jenkins-ci/iotivity-extlibs-
03272015/mbedtls/mbedtls /home/jenkins-ci/workspace/iotivity-verify-tizen_unsecured/extlibs/mbedtls/mbedtls
Bug: https://jira.iotivity.org/browse/IOT-2237
Change-Id: Iffc8929e646b4edb624a12481b32f4929b743af4
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20773
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Peter Hatina <phatina@gmail.com>
Reviewed-by: Sushil Kumar Yadav <sushil.ky@samsung.com>
(cherry picked from commit
77da2a4856a79a1ab08e9c474d297e7ed6b75594)
Reviewed-on: https://gerrit.iotivity.org/gerrit/20775
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: C.J. Collier <cjcollier@linuxfoundation.org>
Tested-by: C.J. Collier <cjcollier@linuxfoundation.org>
done
gbscommand="${gbscommand} -B ~/GBS-ROOT-OIC --include-all --repository ./"
-if [ $secured -eq 1 ];then
- echo `pwd`
- # Prepare mbedTLS dependency
- $SHELL ./extlibs/mbedtls/prep.sh
-fi
+pwd
+
+# Prepare mbedTLS dependency (also for unsecured as used by connectivity)
+$SHELL ./extlibs/mbedtls/prep.sh
# Prepare TinyCBOR dependency
$SHELL ./extlibs/tinycbor/prep.sh