Mercurial > hg > nginx-tests
diff stream_proxy_ssl_certificate.t @ 1069:1b11a12be179
Tests: pass both issuer/subject variable formats where appropriate.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 21 Oct 2016 16:37:23 +0300 |
parents | 90a0d85436c1 |
children | 778eae8230e4 |
line wrap: on
line diff
--- a/stream_proxy_ssl_certificate.t Fri Oct 21 16:32:45 2016 +0300 +++ b/stream_proxy_ssl_certificate.t Fri Oct 21 16:37:23 2016 +0300 @@ -147,9 +147,9 @@ qr/X-Verify: SUCCESS/ms, 'with encrypted key'); like(http_get('/', socket => getconn('127.0.0.1:' . port(8082))), - qr!X-Name: /CN=1.example!, 'valid certificate'); + qr!X-Name: /?CN=1.example!, 'valid certificate'); unlike(http_get('/', socket => getconn('127.0.0.1:' . port(8083))), - qr!X-Name: /CN=1.example!, 'invalid certificate'); + qr!X-Name: /?CN=1.example!, 'invalid certificate'); ###############################################################################