comparison src/http/modules/ngx_http_uwsgi_module.c @ 7787:7ce28b4cc57e

SSL: fixed build by Sun C with old OpenSSL versions. Sun C complains about "statement not reached" if a "return" is followed by additional statements.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 05 Mar 2021 17:16:13 +0300
parents 1a719ee45526
children bdd4d89370a7
comparison
equal deleted inserted replaced
7786:529b73f75d19 7787:7ce28b4cc57e
2396 static char * 2396 static char *
2397 ngx_http_uwsgi_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) 2397 ngx_http_uwsgi_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data)
2398 { 2398 {
2399 #ifndef SSL_CONF_FLAG_FILE 2399 #ifndef SSL_CONF_FLAG_FILE
2400 return "is not supported on this platform"; 2400 return "is not supported on this platform";
2401 #endif 2401 #else
2402
2403 return NGX_CONF_OK; 2402 return NGX_CONF_OK;
2403 #endif
2404 } 2404 }
2405 2405
2406 2406
2407 static ngx_int_t 2407 static ngx_int_t
2408 ngx_http_uwsgi_set_ssl(ngx_conf_t *cf, ngx_http_uwsgi_loc_conf_t *uwcf) 2408 ngx_http_uwsgi_set_ssl(ngx_conf_t *cf, ngx_http_uwsgi_loc_conf_t *uwcf)