summaryrefslogtreecommitdiff
path: root/libavformat/rtmpdh.h
diff options
context:
space:
mode:
authorThomas Volkert <thomas.volkert@net-zeal.com>2018-04-21 15:53:31 +0200
committerThomas Volkert <thomas.volkert@net-zeal.com>2018-04-23 20:48:11 +0200
commit62f5c9d68bf6e0f2c1a47cf002629a70a82274fc (patch)
tree79f0e0385837752a5fe634e5ee9b42af3df2b693 /libavformat/rtmpdh.h
parent2442cf3615a1547abfcb24ea061b0f65dee7f0ea (diff)
libavformat: add mbedTLS based TLS
Diffstat (limited to 'libavformat/rtmpdh.h')
-rw-r--r--libavformat/rtmpdh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtmpdh.h b/libavformat/rtmpdh.h
index 188aad7a45..8cc1a42b63 100644
--- a/libavformat/rtmpdh.h
+++ b/libavformat/rtmpdh.h
@@ -40,6 +40,11 @@ typedef gcry_mpi_t FFBigNum;
#include <openssl/dh.h>
typedef BIGNUM *FFBigNum;
+#elif CONFIG_MBEDTLS
+#include <mbedtls/bignum.h>
+
+typedef mbedtls_mpi *FFBigNum;
+
#endif
typedef struct FF_DH {