Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
cbb5553b
Commit
cbb5553b
authored
Jul 14, 1999
by
Kurt Zeilenga
Browse files
Newer versions of OpenSSL install headers in $prefix/include/openssl...
parent
509fdc1e
Changes
4
Hide whitespace changes
Inline
Side-by-side
configure
View file @
cbb5553b
...
...
@@ -4731,7 +4731,7 @@ fi
ol_link_tls
=
no
if
test
$ol_with_tls
!=
no
;
then
for
ac_hdr
in
ssl.h
for
ac_hdr
in
openssl/ssl.h
ssl.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
...
...
@@ -4772,7 +4772,7 @@ fi
done
if
test
$ac_cv_header_ssl_h
=
yes
;
then
if
test
$ac_cv_header_openssl_ssl_h
=
yes
-o
$ac_cv_header_ssl_h
=
yes
;
then
echo
$ac_n
"checking for SSLeay_add_ssl_algorithms in -lssl""...
$ac_c
"
1>&6
echo
"configure:4778: checking for SSLeay_add_ssl_algorithms in -lssl"
>
&5
ac_lib_var
=
`
echo
ssl
'_'
SSLeay_add_ssl_algorithms |
sed
'y%./+-%__p_%'
`
...
...
configure.in
View file @
cbb5553b
...
...
@@ -678,9 +678,9 @@ dnl
ol_link_tls=no
if test $ol_with_tls != no ; then
AC_CHECK_HEADERS(ssl.h)
AC_CHECK_HEADERS(
openssl/ssl.h
ssl.h)
if test $ac_cv_header_ssl_h = yes ; then
if test
$ac_cv_header_openssl_ssl_h = yes -o
$ac_cv_header_ssl_h = yes ; then
AC_CHECK_LIB(ssl, SSLeay_add_ssl_algorithms,
[have_ssleay=yes
need_rsaref=no],
...
...
include/portable.h.in
View file @
cbb5553b
...
...
@@ -527,6 +527,9 @@
/* Define if you have the <ndir.h> header file. */
#undef HAVE_NDIR_H
/* Define if you have the <openssl/ssl.h> header file. */
#undef HAVE_OPENSSL_SSL_H
/* Define if you have the <psap.h> header file. */
#undef HAVE_PSAP_H
...
...
libraries/libldap/tls.c
View file @
cbb5553b
...
...
@@ -24,7 +24,9 @@
#include <ldap_pvt_thread.h>
#endif
#ifdef HAVE_SSL_H
#ifdef HAVE_OPENSSL_SSL_H
#include <openssl/ssl.h>
#elif defined( HAVE_SSL_H )
#include <ssl.h>
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment