mirror of https://github.com/nginx/nginx
SSL: avoid warning when ECH is not configured and not supported.
This commit is contained in:
parent
367113670e
commit
0427f5335f
|
|
@ -1741,9 +1741,12 @@ cleanup:
|
|||
return rc;
|
||||
|
||||
#else
|
||||
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 New Issue