Mercurial > hg > nginx
comparison src/http/modules/ngx_http_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 | 59e1c73fe02b |
children | 419c066cb710 05e0988a6898 |
comparison
equal
deleted
inserted
replaced
7786:529b73f75d19 | 7787:7ce28b4cc57e |
---|---|
1272 static char * | 1272 static char * |
1273 ngx_http_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) | 1273 ngx_http_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) |
1274 { | 1274 { |
1275 #ifndef SSL_CONF_FLAG_FILE | 1275 #ifndef SSL_CONF_FLAG_FILE |
1276 return "is not supported on this platform"; | 1276 return "is not supported on this platform"; |
1277 #endif | 1277 #else |
1278 | |
1279 return NGX_CONF_OK; | 1278 return NGX_CONF_OK; |
1279 #endif | |
1280 } | 1280 } |
1281 | 1281 |
1282 | 1282 |
1283 static ngx_int_t | 1283 static ngx_int_t |
1284 ngx_http_ssl_init(ngx_conf_t *cf) | 1284 ngx_http_ssl_init(ngx_conf_t *cf) |