Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 77079 invoked from network); 16 Sep 2009 20:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 20:06:39 -0000 Received: (qmail 54994 invoked by uid 500); 16 Sep 2009 20:06:38 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 54900 invoked by uid 500); 16 Sep 2009 20:06:38 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 54891 invoked by uid 99); 16 Sep 2009 20:06:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 20:06:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 20:06:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9B8DE238888D; Wed, 16 Sep 2009 20:06:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r815943 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS modules/ssl/ssl_engine_pphrase.c Date: Wed, 16 Sep 2009 20:06:06 -0000 To: cvs@httpd.apache.org From: minfrin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090916200606.9B8DE238888D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: minfrin Date: Wed Sep 16 20:06:05 2009 New Revision: 815943 URL: http://svn.apache.org/viewvc?rev=815943&view=rev Log: Backport: mod_ssl: The error message when SSLCertificateFile is missing should at least give the name or position of the problematic virtual host definition. Submitted by: Stefan Fritsch Modified: httpd/httpd/branches/2.2.x/CHANGES httpd/httpd/branches/2.2.x/STATUS httpd/httpd/branches/2.2.x/modules/ssl/ssl_engine_pphrase.c Modified: httpd/httpd/branches/2.2.x/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?rev=815943&r1=815942&r2=815943&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/CHANGES [utf-8] (original) +++ httpd/httpd/branches/2.2.x/CHANGES [utf-8] Wed Sep 16 20:06:05 2009 @@ -9,6 +9,10 @@ mod_proxy_ftp: NULL pointer dereference on error paths. [Stefan Fritsch , Joe Orton] + *) mod_ssl: The error message when SSLCertificateFile is missing should + at least give the name or position of the problematic virtual host + definition. [Stefan Fritsch sf sfritsch.de] + *) htdbm: Fix possible buffer overflow if dbm database has very long values. PR 30586 [Dan Poirier] Modified: httpd/httpd/branches/2.2.x/STATUS URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/STATUS?rev=815943&r1=815942&r2=815943&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/STATUS (original) +++ httpd/httpd/branches/2.2.x/STATUS Wed Sep 16 20:06:05 2009 @@ -94,13 +94,6 @@ +1: covener, poirier +1: minfrin (with r814779 for compiler warning fix) - * mod_ssl: The error message when SSLCertificateFile is missing should - at least give the name or position of the problematic virtual host - definition. - Trunk Patch: http://svn.apache.org/viewvc?rev=813105&view=rev - 2.2.x Patch: http://people.apache.org/~minfrin/ssl_engine_pphrase.diff - +1: minfrin, rpluem, pquerna - PATCHES PROPOSED TO BACKPORT FROM TRUNK: [ New proposals should be added at the end of the list ] Modified: httpd/httpd/branches/2.2.x/modules/ssl/ssl_engine_pphrase.c URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/ssl/ssl_engine_pphrase.c?rev=815943&r1=815942&r2=815943&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/modules/ssl/ssl_engine_pphrase.c (original) +++ httpd/httpd/branches/2.2.x/modules/ssl/ssl_engine_pphrase.c Wed Sep 16 20:06:05 2009 @@ -188,7 +188,8 @@ if (sc->server->pks->cert_files[0] == NULL) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, pServ, "Server should be SSL-aware but has no certificate " - "configured [Hint: SSLCertificateFile]"); + "configured [Hint: SSLCertificateFile] (%s:%d)", + pServ->defn_name, pServ->defn_line_number); ssl_die(); } algoCert = SSL_ALGO_UNKNOWN;