mirror of
https://github.com/nginx/nginx.git
synced 2026-02-03 20:29:27 -05:00
SSL: avoid warning when ECH is not configured and not supported.
Some checks failed
buildbot / buildbot (push) Has been cancelled
Some checks failed
buildbot / buildbot (push) Has been cancelled
This commit is contained in:
parent
367113670e
commit
0427f5335f
1 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue