SmartAudio/package/multimedia/gst1-plugins-bad/patches/0010-fix-the-compile-err-wh...

16 lines
421 B
Diff
Executable File

diff --git a/ext/dtls/gstdtlscertificate.c b/ext/dtls/gstdtlscertificate.c
index c2d9bb2..144d11a 100644
--- a/ext/dtls/gstdtlscertificate.c
+++ b/ext/dtls/gstdtlscertificate.c
@@ -46,7 +46,9 @@
#endif
#include <openssl/ssl.h>
-
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#include <openssl/rsa.h>
+#endif
GST_DEBUG_CATEGORY_STATIC (gst_dtls_certificate_debug);
#define GST_CAT_DEFAULT gst_dtls_certificate_debug