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

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

am 31.07.2002 22:02:20 von modssl-bugdb

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 modssl-users@modssl.org
Automated List Manager majordomo@modssl.org