Hack one ssl test case to pass with current LibreSSL.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 May 2025 15:53:51 +0000 (11:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 May 2025 15:53:51 +0000 (11:53 -0400)
commit75d73331d0146871c846e849be626cb220e7e013
treed44f501b3a7160cc3e41599deee85c84645fb96f
parent0aaf69965dbd92072911cc46e4b28b9a37c38fad
Hack one ssl test case to pass with current LibreSSL.

With LibreSSL, our test of error logging for cert chain depths > 0
reports the wrong certificate.  This is almost certainly their bug
not ours, so just tweak the test to accept their answer.

No back-patch needed, since this test case wasn't enabled before
e0f373ee4.

Reported-by: Thomas Munro <thomas.munro@gmail.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.com
src/test/ssl/t/001_ssltests.pl