Sane default for SSL on OSX
- /opt/local is not preferred anymore use /usr/local Change-Id: I30cad4cbd28850063f26121cace05371e13bb314 BUG: 1129939 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8872 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
This commit is contained in:
parent
2a2f113068
commit
37ee11f4d4
@ -54,7 +54,7 @@
|
||||
# define DEFAULT_ETC_SSL "/etc/openssl"
|
||||
# endif
|
||||
# ifdef GF_DARWIN_HOST_OS
|
||||
# define DEFAULT_ETC_SSL "/opt/local/etc/openssl"
|
||||
# define DEFAULT_ETC_SSL "/usr/local/etc/openssl"
|
||||
# endif
|
||||
# if !defined(DEFAULT_ETC_SSL)
|
||||
# define DEFAULT_ETC_SSL "/etc/ssl"
|
||||
|
@ -6,7 +6,7 @@
|
||||
ping_file () {
|
||||
echo hello > $1 2> /dev/null
|
||||
}
|
||||
for d in /etc/ssl /etc/openssl /opt/local/etc/openssl ; do
|
||||
for d in /etc/ssl /etc/openssl /usr/local/etc/openssl ; do
|
||||
if test -d $d ; then
|
||||
SSL_BASE=$d
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user