From 21af95d104d6e55c1072d9d884f7bd31118dbaee Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Mon, 25 Nov 2024 18:01:34 +0900 Subject: [PATCH] Test: adapt 024.cert_auth test to OpenSSL 3.2. In the test we check the error message when the target certificate is revoked. Unfortunately the error message from OpenSSL seems to be changed from v3.0 to v3.2. v3.0 or before: "sslv3 alert certificate revoked" v3.2: "ssl/tls alert certificate revoked" So fix is checking only "alert certificate revoked" part. --- src/test/regression/tests/024.cert_auth/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/regression/tests/024.cert_auth/test.sh b/src/test/regression/tests/024.cert_auth/test.sh index c434b2bbd..16e7d5021 100755 --- a/src/test/regression/tests/024.cert_auth/test.sh +++ b/src/test/regression/tests/024.cert_auth/test.sh @@ -139,7 +139,7 @@ export PGSSLROOTCERT=$dir/$ROOT_CRT $PSQL -h localhost -c "select 1" test > $dir/crl_session.log 2>&1 -grep "sslv3 alert certificate revoked" $dir/crl_session.log +grep "alert certificate revoked" $dir/crl_session.log if [ $? != 0 ];then echo "Checking cert auth between Pgpool-II and frontend with revoked entry in CRL failed." -- 2.39.5