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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 5 09:27:19 UTC 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 1a43d5735972c525b8cc69d46b392e903bb4a0aa
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date:   Mon Nov 28 15:57:33 2016 -0800

    dtls: Set openssl's threadid the 1.0.x way

    For pre-1.1.x openssl, a callback to set the thread id needs to be
    provided to openssl. In 0.9.x the thread id was an unsigned long. In
    1.0.x it was expanded to be able to hold a void*. Here we change to use
    the 1.0.x API so that the thread id can always hold a GThread*, even on
    platforms like msvc x64 where unsigned long is only 32 bits.

    All of this is still #ifdef'd out of existence when building with
    openssl 1.1.x or later which changed the thread API again, and does not
    need a thread id callback.

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

-- 
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