Mercurial > hg > nginx-quic
comparison src/stream/ngx_stream_proxy_module.c @ 8336: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 | fd0b2226919b |
children | bdd4d89370a7 |
comparison
equal
deleted
inserted
replaced
8335:529b73f75d19 | 8336:7ce28b4cc57e |
---|---|
1024 static char * | 1024 static char * |
1025 ngx_stream_proxy_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) | 1025 ngx_stream_proxy_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) |
1026 { | 1026 { |
1027 #ifndef SSL_CONF_FLAG_FILE | 1027 #ifndef SSL_CONF_FLAG_FILE |
1028 return "is not supported on this platform"; | 1028 return "is not supported on this platform"; |
1029 #else | |
1030 return NGX_CONF_OK; | |
1029 #endif | 1031 #endif |
1030 | |
1031 return NGX_CONF_OK; | |
1032 } | 1032 } |
1033 | 1033 |
1034 | 1034 |
1035 static void | 1035 static void |
1036 ngx_stream_proxy_ssl_init_connection(ngx_stream_session_t *s) | 1036 ngx_stream_proxy_ssl_init_connection(ngx_stream_session_t *s) |