mirror of
https://github.com/nginx/nginx.git
synced 2026-10-26 07:20:04 -05:00
SSL: avoid warning when ECH is not configured and not supported.
This commit is contained in:
1 parent
367113670e
commit
0427f5335f
1 file changed
+6
-3
@@ -1741,9 +1741,12 @@ cleanup:
|
||||
return rc;
|
||||
|
||||
#else
|
||||
ngx_log_error(NGX_LOG_WARN, ssl->log, 0,
|
||||
"\"ssl_ech_file\" is not supported on this platform, "
|
||||
"ignored");
|
||||
if (filenames != NULL) {
|
||||
ngx_log_error(NGX_LOG_WARN, ssl->log, 0,
|
||||
"\"ssl_ech_file\" is not supported on this platform, "
|
||||
"ignored");
|
||||
}
|
||||
|
||||
return NGX_OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user