[Spice-devel] [PATCH 2/2] OpenSSL from 1.1.0 is thread safe by default

Christophe Fergeau cfergeau at redhat.com
Thu Sep 15 08:22:14 UTC 2016


Hey,

On Thu, Sep 15, 2016 at 12:24:15AM +0200, Sebastian Andrzej Siewior wrote:
> On 2016-08-11 14:22:59 [+0100], Frediano Ziglio wrote:
> > +++ b/server/reds.c
> > @@ -2771,6 +2771,7 @@ static int ssl_password_cb(char *buf, int size, int flags, void *userdata)
> >      return (strlen(pass));
> >  }
> >  
> > +#if OPENSSL_VERSION_NUMBER < 0x1010000FL
> >  static unsigned long pthreads_thread_id(void)
> >  {
> >      unsigned long ret;
> 
> This seems to be part of the spice git. I am looking at spice-gtk and
> this seems to lack 1.1.0 support. Is someone looking at this by any
> chance? :)

I took a look at that some time ago, and hit some issues porting
spice_channel_load_ca() which uses X509_LOOKUP/X509_LOOKUP_METHOD.
I got the impression from the thread at
https://mta.openssl.org/pipermail/openssl-dev/2016-April/006654.html
that openssl 1.1.0 was missing some methods to let us do what we need
(or maybe it's there but I got lost in the API :)
So I stop trying the port after finding that email. This was 2.5 months
ago, maybe these accessors have been added before the final release(?)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160915/2446ecdc/attachment.sig>


More information about the Spice-devel mailing list