nsd_ossl.c: In function ‘osslPostHandshakeCheck’: nsd_ossl.c:1385:5: error: implicit declaration of function ‘SSL_get_shared_curve’; did you mean ‘SSL_get_shared_ciphers’? [-Werror=implicit-function-declaration] 1385 | if(SSL_get_shared_curve(pNsd->ssl, -1) == 0) { | ^~~~~~~~~~~~~~~~~~~~ | SSL_get_shared_ciphers ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-libressl-20201008-134631 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.47.0 [2] rust-1.47.0 * The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Oct 22 07:05:42 PM UTC 2020 /var/db/repos/libressl Sun Oct 18 04:35:14 PM UTC 2020 emerge -qpvO app-admin/rsyslog [ebuild U ] app-admin/rsyslog-8.2010.0 [8.2008.0] USE="gcrypt libressl openssl snmp ssl uuid -clickhouse -curl -dbi -debug -doc -elasticsearch -gnutls -imhttp% -impcap% -jemalloc -kafka -kerberos -kubernetes -mdblookup -mongodb -mysql -normalize -omhttp -omhttpfs -omudpspoof -postgres -rabbitmq -redis -relp -rfc3195 -rfc5424hmac -systemd -test -usertools -xxhash -zeromq"
Created attachment 668027 [details] emerge-info.txt
Created attachment 668030 [details] app-admin:rsyslog-8.2010.0:20201022-193455.log
Created attachment 668033 [details] emerge-history.txt
Created attachment 668036 [details] environment
Created attachment 668039 [details] etc.portage.tbz2
Created attachment 668042 [details] logs.tbz2
Created attachment 668045 [details] temp.tbz2
Created attachment 683122 [details, diff] patch to mask use of SSL_get_shared_curve when using libressl Mask the use of this function if LIBRESSL_VERSION_NUMBER is defined. This mechanism is used in other parts of the the file runtime/nsd_ossl.c and it also currently depends on openssl version being greater than or equal to 1.0.2. Not sure if this is the best way to handle this issue but it does allow the code to compile.
libressl support was dropped.