Mercurial > hg > nginx
diff src/stream/ngx_stream_ssl_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 | 3bff3f397c05 |
children | 419c066cb710 |
line wrap: on
line diff
--- a/src/stream/ngx_stream_ssl_module.c Tue Mar 02 00:58:24 2021 +0300 +++ b/src/stream/ngx_stream_ssl_module.c Fri Mar 05 17:16:13 2021 +0300 @@ -1061,9 +1061,9 @@ { #ifndef SSL_CONF_FLAG_FILE return "is not supported on this platform"; +#else + return NGX_CONF_OK; #endif - - return NGX_CONF_OK; }