fi
yum install -y epel-release
yum install -y git binutils make autoconf automake gcc diffutils \
- texinfo netcat procps socat {lzo,zlib,lz4,openssl11,ncurses,readline}-devel
+ texinfo netcat procps socat {lzo,zlib,lz4,ncurses,readline}-devel
+ yum install openssl11-devel || yum install openssl-devel
if: startsWith(matrix.os, 'centos') || startsWith(matrix.os, 'alma')
- name: Install deps (SUSE)
header "Running test flavor $flavor"
+ # CentOS 7 has OpenSSL 1.1 installed in a non-default location.
+ if test -d /usr/include/openssl11; then
+ set -- "$@" --with-openssl-include=/usr/include/openssl11
+ fi
+
+ if test -d /usr/lib64/openssl11; then
+ set -- "$@" --with-openssl-lib=/usr/lib64/openssl11
+ fi
+
autoreconf -fsi
./configure "$@"
make -j"$(nproc)"