Commit bb1b3b38 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  The short term hack.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89806 13f79535-47bb-0310-9956-ffa450edef68
parent 0bf38520
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -207,6 +207,14 @@ void ssl_pphrase_Handle(server_rec *s, apr_pool_t *p)
            if (sc->szPrivateKeyFile[j] != NULL)
                apr_cpystrn(szPath, sc->szPrivateKeyFile[j++], sizeof(szPath));

            if (sc->szPrivateKeyFile[j] == NULL) {
                ssl_log(pServ, SSL_LOG_ERROR,
                        "Init: Server %s should be SSL-aware but "
                        "too few private key files were specified "
                        "[Hint: SSLCertificateKeyFile]", cpVHostID);
                ssl_die();
            }

            /*
             * Try to read the private key file with the help of
             * the callback function which serves the pass