OpenSSL 1.1.0 patch for cyrus-imapd 2.5.x?

ellie timoney ellie at fastmail.com
Sun Nov 6 16:47:10 EST 2016


1.1.0 support has notionally been there for months (included in 2.5.9):
https://github.com/cyrusimap/cyrus-imapd/issues/3

That said, afaik it was last tested with 1.1.0-pre5, and I don't know
what's changed in OpenSSL since then.  Or maybe that file was missed
during testing somehow.

Thanks for the patch :)

On Mon, Nov 7, 2016, at 07:25 AM, Ondřej Surý via Cyrus-devel wrote:
> Hi,
> 
> answering to myself - all it takes is to rename 'struct sched_param' to
> something less generic as openssl 1.1.0 includes system sched.h.
> 
> diff --git a/imap/http_caldav_sched.h b/imap/http_caldav_sched.h
> index 5d8b2a9..9b66b81 100644
> --- a/imap/http_caldav_sched.h
> +++ b/imap/http_caldav_sched.h
> @@ -109,7 +109,7 @@ struct proplist {
>  };
>  
>  /* Each calendar user address has the following scheduling protocol
>  params */
> -struct sched_param {
> +struct caldav_sched_param {
>      char *userid;      /* Userid corresponding to calendar address */ 
>      char *server;      /* Remote server user lives on */
>      unsigned port;     /* Remote server port, default = 80 */
> 
> Cheers,
> -- 
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
> fast DNS(SEC) resolver
> Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
> pečení chleba všeho druhu
> 
> On Sun, Nov 6, 2016, at 16:21, Ondřej Surý via Cyrus-devel wrote:
> > Hi,
> > 
> > is there a patch for OpenSSL 1.1.0 support? I haven't found anything in
> > the git, but perhaps
> > somebody is already working on that?
> > 
> > Cheers,
> > -- 
> > Ondřej Surý <ondrej at sury.org>
> > Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> > Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
> > fast DNS(SEC) resolver
> > Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
> > pečení chleba všeho druhu


More information about the Cyrus-devel mailing list