Tentative to fix CI tests

This commit is contained in:
Emmanuel Fusté 2024-12-09 10:46:45 +01:00
parent 991c1fefb2
commit e4e3afbbe8

View File

@ -17169,6 +17169,10 @@ run_renego() {
prln_warning "not having provided client certificate and private key file, the client x509-based authentication prevents this from being tested"
fileout "$jsonID" "WARN" "not having provided client certificate and private key file, the client x509-based authentication prevents this from being tested"
else
# We will extensively use subshell and command pipe
# Do not let herited pipeline error control interfere
[[ $- == *e* ]] && restore_pipeerror=1
[[ $restore_pipeerror == 1 ]] && set +e
# We will need $ERRFILE for mitigation detection
if [[ $ERRFILE =~ dev.null ]]; then
ERRFILE=$TEMPDIR/errorfile.txt || exit $ERR_FCREATE
@ -17279,6 +17283,7 @@ run_renego() {
;;
esac
fi
[[ $restore_pipeerror == 1 ]] && set -e
fi
#pr_bold " Insecure Client-Initiated Renegotiation " # pre-RFC 5746, CVE-2009-3555