diff --git a/src/mod_openssl.c b/src/mod_openssl.c index e3f15d55..c2c5b2a6 100644 --- a/src/mod_openssl.c +++ b/src/mod_openssl.c @@ -1075,7 +1075,7 @@ mod_openssl_cert_cb (SSL *ssl, void *arg) /* x509/pkey available <=> pemfile was set <=> pemfile got patched: * so this should never happen, unless you nest $SERVER["socket"] */ log_error(hctx->r->conf.errh, __FILE__, __LINE__, - "SSL: no certificate/private key for TLS server name %s. " + "SSL: no certificate/private key for TLS server name \"%s\". " "$SERVER[\"socket\"] should not be nested in other conditions.", hctx->r->uri.authority.ptr); return 0; diff --git a/src/mod_wolfssl.c b/src/mod_wolfssl.c index 565b3a45..bef18413 100644 --- a/src/mod_wolfssl.c +++ b/src/mod_wolfssl.c @@ -1206,7 +1206,7 @@ mod_openssl_cert_cb (SSL *ssl, void *arg) /* x509/pkey available <=> pemfile was set <=> pemfile got patched: * so this should never happen, unless you nest $SERVER["socket"] */ log_error(hctx->r->conf.errh, __FILE__, __LINE__, - "SSL: no certificate/private key for TLS server name %s. " + "SSL: no certificate/private key for TLS server name \"%s\". " "$SERVER[\"socket\"] should not be nested in other conditions.", hctx->r->uri.authority.ptr); return 0;