[syslog-ng] Syslog-ng 3.0.1 seg fault with TLS support

Xavier Lapie bana at docisland.org
Thu Mar 5 13:58:20 CET 2009


On Thu, Mar 05, 2009 at 01:52:27PM +0100, Hahusseau, Thomas wrote:
> I changed it in the source and now the compilation crashed for cfg-grammar.y
> :( :(

It's just a macro, you must have done something wrong.

You had this:

dest_afinet_tcp_option
        : dest_afinet_option
        | KW_TLS
          {
#if ENABLE_TLS
            last_tls_context = tls_context_new(TM_CLIENT);
#endif
         }

You should have this:

dest_afinet_tcp_option
        : dest_afinet_option
        | KW_TLS
          {
#if ENABLE_SSL
            last_tls_context = tls_context_new(TM_CLIENT);
#endif
          }



-- 
Xavier


More information about the syslog-ng mailing list