diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 63c61f9a0..99df2181e 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -27,10 +27,29 @@ case "$host" in icacls regress /c /t /q /grant 'BUILTIN\Administrators:(RX)' echo "Modifiled ACLs" icacls regress + echo Enabling OpenSSL rh-allow-sha1-signatures for unit tests. cp /etc/pki/tls/openssl.cnf /etc/pki/tls/openssl.cnf.bak - sed -i -e '/\[ default_modules \]/a alg_section = evp_properties\n[evp_properties]\nrh-allow-sha1-signatures = yes\n' /etc/pki/tls/openssl.cnf - diff -u /etc/pki/tls/openssl.cnf.bak /etc/pki/tls/openssl.cnf + cat >>/etc/pki/tls/openssl.cnf <