On Sun, Aug 28, 2016 at 05:37:30PM +0200, Oswald Buddenhagen wrote: > i just attempted to build mutt against openssl 1.1, and got this: > > mutt_ssl.c:636:18: error: storage size of ‘xsc’ isn’t known > X509_STORE_CTX xsc; > ^~~ > > the reason is that openssl finally made many of their structures opaque, > so instantiating it won't work any more - instead, you need to use the > correct factory methods. > > someone already has a patch? otherwise i may give it a shot.
In Debian we are really interested in this patch as openssl 1.1 will land in unstable soon. I made the patch for cfengine3 and it's not straightforward, you have to use factor methods to create and free pointers (along with various ifdefs so that it builds with both versions of openssl) and then there are accessors which replace the direct access to the structures. I haven't looked into mutt but please let us know when you have a working patch ready.
