From 7d2221120cecda42af4da0beb8cf80fc874c8036 Mon Sep 17 00:00:00 2001 From: Wangchong Zhou Date: Tue, 29 Aug 2023 02:44:29 -0700 Subject: [PATCH] fix(tests): adjust to OpenSSL 3.x error messages --- t/002-upstream-tls.t | 2 +- t/stream/001-upstream-tls.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/002-upstream-tls.t b/t/002-upstream-tls.t index 3abdec19..46d95cfc 100644 --- a/t/002-upstream-tls.t +++ b/t/002-upstream-tls.t @@ -543,7 +543,7 @@ GET /t .+502 Bad Gateway.+ --- error_log -upstream SSL certificate verify error: (22:certificate chain too long) +upstream SSL certificate verify error: (20:unable to get issuer certificate) --- error_code: 502 --- no_error_log diff --git a/t/stream/001-upstream-tls.t b/t/stream/001-upstream-tls.t index 93475293..04597d99 100644 --- a/t/stream/001-upstream-tls.t +++ b/t/stream/001-upstream-tls.t @@ -555,7 +555,7 @@ upstream SSL certificate verify error: (20:unable to get local issuer certificat receive stream response error: connection reset by peer --- error_log -upstream SSL certificate verify error: (22:certificate chain too long) +upstream SSL certificate verify error: (20:unable to get issuer certificate) --- skip_nginx 3: < 1.21.4