mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-15 10:30:40 +01:00
Add new configuration parameter tls.tlscfgcmd to omrelp and imrelp. (Using relpSrvSetTlsConfigCmd and relpCltSetTlsConfigCmd) OpenSSL Version 1.0.2 or higher is required for this feature. A list of possible commands and their valid values can be found in the documentation: https://www.openssl.org/docs/man1.0.2/man3/SSL_CONF_cmd.html The setting can be single or multiline, each configuration command is separated by linefeed (n). Command and value are separated by equal sign (=). Here are a few samples: tls.tlscfgcmd="Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2" tls.tlscfgcmd="Protocol=ALL,-SSLv2,-SSLv3,-TLSv1 MinProtocol=TLSv1.2" Add to new testcases for librelp and tlscfgcmd. closes https://github.com/rsyslog/rsyslog/issues/3959
11 lines
181 B
C
11 lines
181 B
C
#include "config.h"
|
|
|
|
int main(int argc __attribute__((unused)), char *argv[]__attribute__((unused)))
|
|
{
|
|
#if defined(HAVE_RELPENGINESETTLSCFGCMD)
|
|
return 0;
|
|
#else
|
|
return 1;
|
|
#endif
|
|
}
|