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
+++ b/stream_proxy_ssl_certificate.t
@@ -147,9 +147,9 @@ like(http_get('/', socket => getconn('12
 	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');
 
 ###############################################################################