From fa1c1e3c5a96a3da2db26b847efc3f68e0755db9 Mon Sep 17 00:00:00 2001
From: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Date: Mon, 4 Jan 2021 18:13:44 +0000
Subject: [PATCH] Introduce Mbed TLS

C library that implements cryptographic primitives,
X.509 certificate manipulation and the SSL/TLS and DTLS protocols.
Small footprint - suitable for embedded systems.

Adding another Softbus requirement.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
---
 .../recipes-libs/mbedtls/mbedtls_git.bb           | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-ohos-foundation/recipes-libs/mbedtls/mbedtls_git.bb

diff --git a/meta-ohos-foundation/recipes-libs/mbedtls/mbedtls_git.bb b/meta-ohos-foundation/recipes-libs/mbedtls/mbedtls_git.bb
new file mode 100644
index 00000000..14e4e127
--- /dev/null
+++ b/meta-ohos-foundation/recipes-libs/mbedtls/mbedtls_git.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Mbed TLS"
+DESCRIPTION = "C library for X.509 certificate manipulation and the SSL/TLS and DTLS"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a"
+
+SRC_URI = "git://gitee.com/openharmony/third_party_mbedtls.git;protocol=https"
+
+PV = "1.0+git${SRCPV}"
+SRCREV = "43547c1c8a8ab35694acefb7c8b26323dd71eafa"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "zlib"
+
+inherit cmake perlnative python3native
-- 
GitLab