diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-03-05 17:16:13 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-03-05 17:16:13 +0300 |
commit | 797ac536fe2cc0a311a72ddb861784f320991beb (patch) | |
tree | 38d882f2982404fa241c0a91d7dfec40f44435ba /src/http/modules/ngx_http_ssl_module.c | |
parent | a38a8438b8116d4f3674ea8a0cb194a8fb3f5622 (diff) | |
download | nginx-797ac536fe2cc0a311a72ddb861784f320991beb.tar.gz nginx-797ac536fe2cc0a311a72ddb861784f320991beb.zip |
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.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index e062b03a1..a47d6963a 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -1274,9 +1274,9 @@ ngx_http_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) { #ifndef SSL_CONF_FLAG_FILE return "is not supported on this platform"; -#endif - +#else return NGX_CONF_OK; +#endif } |