changeset 643:02bb93aebaa5

Tests: minor cleanup, no functional changes.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 13 Aug 2015 11:34:53 +0300
parents 555e718a70a5
children df8a498e0d50
files proxy_ssl_certificate.t
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_ssl_certificate.t
+++ b/proxy_ssl_certificate.t
@@ -3,7 +3,7 @@
 # (C) Sergey Kandaurov
 # (C) Nginx, Inc.
 
-# Tests for proxy with proxy certificate to ssl backend.
+# Tests for http proxy module with proxy certificate to ssl backend.
 # The proxy_ssl_certificate and proxy_ssl_password_file directives.
 
 ###############################################################################
@@ -135,8 +135,6 @@ foreach my $name ('3.example.com') {
 
 ###############################################################################
 
-my $cert;
-
 like(http_get('/verify'), qr/X-Verify: SUCCESS/ms, 'verify certificate');
 like(http_get('/fail'), qr/X-Verify: FAILED/ms, 'fail certificate');
 like(http_get('/encrypted'), qr/X-Verify: SUCCESS/ms, 'with encrypted key');