Skip to content

Commit e7d89c0

Browse files
committed
bugfix: builds without --with-http_ssl_module were broken. this regression had appeared in commit a6a0ed5.
1 parent b55d0ec commit e7d89c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngx_http_lua_socket_tcp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5185,6 +5185,8 @@ ngx_http_lua_ssl_free_session(lua_State *L)
51855185
return 0;
51865186
}
51875187

5188+
#endif /* NGX_HTTP_SSL */
5189+
51885190

51895191
void
51905192
ngx_http_lua_cleanup_conn_pools(lua_State *L)
@@ -5222,6 +5224,4 @@ ngx_http_lua_cleanup_conn_pools(lua_State *L)
52225224
lua_pop(L, 1);
52235225
}
52245226

5225-
#endif /* NGX_HTTP_SSL */
5226-
52275227
/* vi:set ft=c ts=4 sw=4 et fdm=marker: */

0 commit comments

Comments
 (0)