[Bug 775292] dtls: Set openssl's threadid the 1.0.x way

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 29 11:16:17 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=775292

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #340952|none                        |needs-work
             status|                            |

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 340952:
 --> (https://bugzilla.gnome.org/review?bug=775292&attachment=340952)

::: ext/dtls/gstdtlsagent.c
@@ +150,3 @@
       CRYPTO_set_id_callback (ssl_thread_id_function);
+#else /* OPENSSL_VERSION_NUMBER >= 0x10000000L */
+      CRYPTO_THREADID_set_callback (ssl_thread_id_function);

In 1.1, the first function is hard-deprecated (#if OPENSSL_API_COMPAT <
0x10000000L) and the second is #defined to a no-op. Let's add another #ifdef to
just not call any of these for 1.1?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list