The Doctor:
> > If the BSD/OS 4.x compiler dies on #ifdefs in an argument list
> > like this:
> >
> > SSL_set_options(TLScontext->con,
> > ((protomask & TLS_PROTOCOL_TLSv1) ? SSL_OP_NO_TLSv1 : 0L)
> > #ifdef SSL_OP_NO_TLSv1_1
> > | ((protomask & TLS_PROTOCOL_TLSv1_1) ? SSL_OP_NO_TLSv1_1 : 0L)
> > #endif
> > #ifdef SSL_OP_NO_TLSv1_2
> > | ((protomask & TLS_PROTOCOL_TLSv1_2) ? SSL_OP_NO_TLSv1_2 : 0L)
> > #endif
> > | ((protomask & TLS_PROTOCOL_SSLv3) ? SSL_OP_NO_SSLv3 : 0L)
> > | ((protomask & TLS_PROTOCOL_SSLv2) ? SSL_OP_NO_SSLv2 : 0L));
> >
> > then I suppose that is the end of support for this platform. I don't
> > have the time to set up this build environment and develop a
> > workaround for what appears to be a 10-year old compiler bug.
> >
> > You can work around this by removing the #ifdef and #endif shown
> > above.
>
> That works!
>
> BTW, gcc being used is 3.2.3
I can reproduce this on a Solaris9 test VM. I'll see if I can do a
reasonable workaround for the 2.10 snapshot so I can test stuff,
but have no plans to back-port this to the stable release.
Wietse