On 2020/02/29 22:04, Remi Locherer wrote: > librelp version 1.5.0 was released in January 2020. According to the > changelog it contains mostly bug fixes. > --> https://github.com/rsyslog/librelp/blob/master/ChangeLog > > This release also introduces the usage of OpenSSL's SSL_CONF_cmd API. > --> https://github.com/rsyslog/librelp/blob/master/ChangeLog > This is a bit problematic since LibreSSL is not providing this API. > Are there better approaches for this issue than my patch? > > I verified on amd64 that rsyslog from ports can send and receive messages > via imrelp and omrelp with librelp 1.5.0. > > Comments? OKs?
The common (and more easily greppable) way to do this is to use "&& !defined(LIBRESSL_VERSION_NUMBER)" in the patch rather than replacing with #if 0.