Skip to content

Commit 50996ec

Browse files
committed
Merge pull request #121 from chobits/master
make it compatible with tengine-2.2.0+
2 parents f2156ef + 213b59d commit 50996ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ngx_tcp_ssl_module.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ ngx_tcp_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
307307
cln->handler = ngx_ssl_cleanup_ctx;
308308
cln->data = &conf->ssl;
309309

310-
#if defined(tengine_version)
310+
#if defined(tengine_version) && tengine_version < 2002000
311311
ngx_str_t pass_phrase_dialog = ngx_string("builtin");
312312
ngx_str_t ngx_tcp_ssl_unknown_server_name = ngx_string("unknown");
313313

0 commit comments

Comments
 (0)