using a pre-filled buffer, and log parsing failures at level INFO.
[Yann Ylavic, Jeff Trawick]
- *) mod_ssl: Warn about deprecated SSLCertificateChainFile once at startup,
- on first usage only. [Yann Ylavic]
-
*) mod_substitute: Fix configuraton merge order.
PR 57641 [<Marc.Stern approach.be>]
SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
const char *err;
- const char *once_key = "ssl_cmd_SSLCertificateChainFile";
- if (!ap_retained_data_get(once_key)) {
- ap_retained_data_create(once_key, sizeof(char));
-
- ap_log_error(APLOG_MARK, APLOG_INFO|APLOG_STARTUP, 0, NULL,
- APLOGNO(02559)
- "The SSLCertificateChainFile directive (%s:%d) is "
- "deprecated, SSLCertificateFile should be used instead",
- cmd->directive->filename, cmd->directive->line_num);
- }
+ ap_log_error(APLOG_MARK, APLOG_WARNING|APLOG_STARTUP, 0, NULL,
+ APLOGNO(02559)
+ "The SSLCertificateChainFile directive (%s:%d) is deprecated, "
+ "SSLCertificateFile should be used instead",
+ cmd->directive->filename, cmd->directive->line_num);
if ((err = ssl_cmd_check_file(cmd, &arg))) {
return err;