summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_openssl.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
index fe2302966..d7a514852 100644
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -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
}