Subject: [BugDB] mod_ssl assumes SSL_BASE to be /usr/local/ssl if the directory exists (PR#739)

From: [email-masked]
Date: Wed, 31 Jul 2002 22:02:20 +0200 (MET DST)

Full_Name: CJ
Version: mod_ssl-2.8.10-1.3.26
OS: FreeBSD 4.6-STABLE
Submission from: (NULL) (216.17.129.22)

In the file pkg.sslmod/libssl.module there is the following code:

        if [ ".$SSL_BASE" = . ]; then
            if [ -d /usr/local/ssl ]; then
                SSL_BASE="/usr/local/ssl"
            else
                SSL_BASE="SYSTEM"
            fi
        fi

Which makes a rather large assumption that just because you have the directory
/usr/local/ssl your OpenSSL libraries are installed there.  This can throw you
for a loop if you're not expecting it (like I wasn't).

- C.J.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email-masked]
Automated List Manager                            [email-masked]