--- /dev/null
+--- mbedtls-2.26.0/include/mbedtls/config.h.orig 2021-03-12 17:55:26.000000000 +0100
++++ mbedtls-2.26.0/include/mbedtls/config.h 2021-06-13 22:49:25.354694754 +0200
+@@ -1907,7 +1907,7 @@
+ *
+ * Uncomment this to enable support for use_srtp extension.
+ */
+-//#define MBEDTLS_SSL_DTLS_SRTP
++#define MBEDTLS_SSL_DTLS_SRTP
+
+ /**
+ * \def MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
Summary(pl.UTF-8): Lekka biblioteka kryptograficzna oraz SSL/TLS
Name: mbedtls
Version: 2.26.0
-Release: 1
+Release: 2
License: GPL v2+
Group: Libraries
#Source0Download: https://github.com/ARMmbed/mbedtls/releases
Source0: https://github.com/ARMmbed/mbedtls/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 5f66a6278d469b1cca5e035786ae9ea8
+Patch0: %{name}-config-dtls-srtp.patch
URL: https://www.trustedfirmware.org/projects/mbed-tls/
BuildRequires: cmake >= 2.8.12
BuildRequires: doxygen
%prep
%setup -q
+%patch0 -p1
%build
install -d build