From: Tatsuo Ishii Date: Mon, 25 Nov 2024 09:01:34 +0000 (+0900) Subject: Test: adapt 024.cert_auth test to OpenSSL 3.2. X-Git-Tag: V4_6_0_BETA1~25 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/faq.html?a=commitdiff_plain;h=7b2338e325d177cb51e5783a2573976d6c0b08b9;p=pgpool2.git 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. --- diff --git a/src/test/regression/tests/024.cert_auth/test.sh b/src/test/regression/tests/024.cert_auth/test.sh index 8f5082a0a..4d7a280b5 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."