Skip to content

Commit c4b9828

Browse files
author
Tuure Vartiainen
committed
tests: Fixed a typo, use TLSv1 in TLS-PSK test case.
1 parent 769fe09 commit c4b9828

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/140-ssl-c-api.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,9 @@ lua ssl server name: "test.com"
829829
listen unix:$TEST_NGINX_HTML_DIR/nginx.sock ssl;
830830
server_name test.com;
831831
832+
ssl_protocols TLSv1;
833+
ssl_ciphers PSK;
834+
832835
ssl_psk_by_lua_block {
833836
collectgarbage()
834837
@@ -894,7 +897,6 @@ lua ssl server name: "test.com"
894897
server_tokens off;
895898
896899
location /t {
897-
ssl_protocols TLSv1;
898900
lua_ssl_ciphers PSK;
899901
lua_ssl_psk_identity psk_test_identity;
900902
lua_ssl_psk_key psk_test_key;

0 commit comments

Comments
 (0)