diff src/http/modules/ngx_http_grpc_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 88eca63261c3
children 6df9d7df2784
line wrap: on
line diff
--- a/src/http/modules/ngx_http_grpc_module.c
+++ b/src/http/modules/ngx_http_grpc_module.c
@@ -4841,9 +4841,9 @@ ngx_http_grpc_ssl_conf_command_check(ngx
 {
 #ifndef SSL_CONF_FLAG_FILE
     return "is not supported on this platform";
+#else
+    return NGX_CONF_OK;
 #endif
-
-    return NGX_CONF_OK;
 }