Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
ca81b49f
Commit
ca81b49f
authored
19 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Drop support for SSLeay.
parent
001e5655
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure
+12
-88
12 additions, 88 deletions
configure
configure.in
+15
-24
15 additions, 24 deletions
configure.in
include/portable.hin
+5
-11
5 additions, 11 deletions
include/portable.hin
with
32 additions
and
123 deletions
configure
+
12
−
88
View file @
ca81b49f
...
@@ -2386,7 +2386,7 @@ if test "${with_tls+set}" = set; then
...
@@ -2386,7 +2386,7 @@ if test "${with_tls+set}" = set; then
withval="$with_tls"
withval="$with_tls"
ol_arg=invalid
ol_arg=invalid
for ol_val in auto
ssleay
openssl yes no ; do
for ol_val in auto openssl yes no ; do
if test "$withval" = "$ol_val" ; then
if test "$withval" = "$ol_val" ; then
ol_arg="$ol_val"
ol_arg="$ol_val"
fi
fi
...
@@ -19164,8 +19164,7 @@ fi
...
@@ -19164,8 +19164,7 @@ fi
ol_link_tls=no
ol_link_tls=no
if test $ol_with_tls != no ; then
if test $ol_with_tls != no ; then
for ac_header in openssl/ssl.h
for ac_header in openssl/ssl.h ssl.h
do
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
if eval "test \"\${$as_ac_Header+set}\" = set"; then
...
@@ -19315,82 +19314,8 @@ fi
...
@@ -19315,82 +19314,8 @@ fi
done
done
if test $ac_cv_header_openssl_ssl_h = yes ||
if test $ac_cv_header_openssl_ssl_h = yes ; then
test $ac_cv_header_ssl_h = yes ; then
echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5
echo "$as_me:$LINENO: checking for SSLeay_add_ssl_algorithms in -lssl" >&5
echo $ECHO_N "checking for SSLeay_add_ssl_algorithms in -lssl... $ECHO_C" >&6
if test "${ac_cv_lib_ssl_SSLeay_add_ssl_algorithms+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lssl -lcrypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char SSLeay_add_ssl_algorithms ();
int
main ()
{
SSLeay_add_ssl_algorithms ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_ssl_SSLeay_add_ssl_algorithms=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_ssl_SSLeay_add_ssl_algorithms=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSLeay_add_ssl_algorithms" >&5
echo "${ECHO_T}$ac_cv_lib_ssl_SSLeay_add_ssl_algorithms" >&6
if test $ac_cv_lib_ssl_SSLeay_add_ssl_algorithms = yes; then
have_ssleay=yes
need_rsaref=no
else
have_ssleay=no
fi
if test $have_ssleay = no ; then
echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5
echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6
echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6
if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then
if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
echo $ECHO_N "(cached) $ECHO_C" >&6
...
@@ -19455,15 +19380,14 @@ fi
...
@@ -19455,15 +19380,14 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6
if test $ac_cv_lib_ssl_SSL_library_init = yes; then
if test $ac_cv_lib_ssl_SSL_library_init = yes; then
have_ssl
eay
=yes
have_
open
ssl=yes
need_rsaref=no
need_rsaref=no
else
else
have_ssl
eay
=no
have_
open
ssl=no
fi
fi
fi
if test $have_ssl
eay
= no ; then
if test $have_
open
ssl = no ; then
echo "$as_me:$LINENO: checking for ssl3_accept in -lssl" >&5
echo "$as_me:$LINENO: checking for ssl3_accept in -lssl" >&5
echo $ECHO_N "checking for ssl3_accept in -lssl... $ECHO_C" >&6
echo $ECHO_N "checking for ssl3_accept in -lssl... $ECHO_C" >&6
if test "${ac_cv_lib_ssl_ssl3_accept+set}" = set; then
if test "${ac_cv_lib_ssl_ssl3_accept+set}" = set; then
...
@@ -19529,21 +19453,21 @@ fi
...
@@ -19529,21 +19453,21 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl3_accept" >&5
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl3_accept" >&5
echo "${ECHO_T}$ac_cv_lib_ssl_ssl3_accept" >&6
echo "${ECHO_T}$ac_cv_lib_ssl_ssl3_accept" >&6
if test $ac_cv_lib_ssl_ssl3_accept = yes; then
if test $ac_cv_lib_ssl_ssl3_accept = yes; then
have_ssl
eay
=yes
have_
open
ssl=yes
need_rsaref=yes
need_rsaref=yes
else
else
have_ssl
eay
=no
have_
open
ssl=no
fi
fi
fi
fi
if test $have_ssl
eay
= yes ; then
if test $have_
open
ssl = yes ; then
ol_with_tls=found
ol_with_tls=found
ol_link_tls=yes
ol_link_tls=yes
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define HAVE_SSL
EAY
1
#define HAVE_
OPEN
SSL 1
_ACEOF
_ACEOF
This diff is collapsed.
Click to expand it.
configure.in
+
15
−
24
View file @
ca81b49f
...
@@ -245,7 +245,7 @@ ol_with_kerberos=${ol_with_kerberos-auto}
...
@@ -245,7 +245,7 @@ ol_with_kerberos=${ol_with_kerberos-auto}
OL_ARG_WITH(threads,[ --with-threads with threads],
OL_ARG_WITH(threads,[ --with-threads with threads],
auto, [auto nt posix mach pth lwp yes no manual] )
auto, [auto nt posix mach pth lwp yes no manual] )
OL_ARG_WITH(tls,[ --with-tls with TLS/SSL support],
OL_ARG_WITH(tls,[ --with-tls with TLS/SSL support],
auto, [auto
ssleay
openssl yes no] )
auto, [auto openssl yes no] )
OL_ARG_WITH(yielding_select,[ --with-yielding-select with implicitly yielding select],
OL_ARG_WITH(yielding_select,[ --with-yielding-select with implicitly yielding select],
auto, [auto yes no manual] )
auto, [auto yes no manual] )
OL_ARG_WITH(multiple_precision,[ --with-multiple-precision
OL_ARG_WITH(multiple_precision,[ --with-multiple-precision
...
@@ -1312,40 +1312,31 @@ dnl TLS/SSL
...
@@ -1312,40 +1312,31 @@ dnl TLS/SSL
ol_link_tls=no
ol_link_tls=no
if test $ol_with_tls != no ; then
if test $ol_with_tls != no ; then
AC_CHECK_HEADERS(openssl/ssl.h ssl.h)
AC_CHECK_HEADERS(openssl/ssl.h)
if test $ac_cv_header_openssl_ssl_h = yes ||
if test $ac_cv_header_openssl_ssl_h = yes ; then
test $ac_cv_header_ssl_h = yes ; then
AC_CHECK_LIB(ssl, SSL_library_init,
AC_CHECK_LIB(ssl, SSLeay_add_ssl_algorithms,
[have_openssl=yes
[have_ssleay=yes
need_rsaref=no], [have_openssl=no],
need_rsaref=no],
[have_ssleay=no],
[-lcrypto])
[-lcrypto])
if test $have_ssleay = no ; then
AC_CHECK_LIB(ssl, SSL_library_init,
[have_ssleay=yes
need_rsaref=no], [have_ssleay=no],
[-lcrypto])
fi
if test $have_ssl
eay
= no ; then
if test $have_
open
ssl = no ; then
AC_CHECK_LIB(ssl, ssl3_accept,
AC_CHECK_LIB(ssl, ssl3_accept,
[have_ssl
eay
=yes
[have_
open
ssl=yes
need_rsaref=yes], [have_ssl
eay
=no],
need_rsaref=yes], [have_
open
ssl=no],
[-lcrypto -lRSAglue -lrsaref])
[-lcrypto -lRSAglue -lrsaref])
fi
fi
if test $have_ssl
eay
= yes ; then
if test $have_
open
ssl = yes ; then
ol_with_tls=found
ol_with_tls=found
ol_link_tls=yes
ol_link_tls=yes
AC_DEFINE(HAVE_SSL
EAY
, 1,
AC_DEFINE(HAVE_
OPEN
SSL, 1,
[define if you have
SSLeay or
OpenSSL])
[define if you have OpenSSL])
if test $need_rsaref = yes; then
if test $need_rsaref = yes; then
AC_DEFINE(HAVE_RSAREF, 1,
AC_DEFINE(HAVE_RSAREF, 1,
[define if
you have
RSAref])
[define if
OpenSSL needs
RSAref])
TLS_LIBS="-lssl -lcrypto -lRSAglue -lrsaref"
TLS_LIBS="-lssl -lcrypto -lRSAglue -lrsaref"
else
else
...
@@ -2408,7 +2399,7 @@ if test "$ol_with_multiple_precision" != "no" ; then
...
@@ -2408,7 +2399,7 @@ if test "$ol_with_multiple_precision" != "no" ; then
case "$ol_mp_support" in
case "$ol_mp_support" in
bignum)
bignum)
AC_DEFINE(HAVE_BIGNUM, 1,
AC_DEFINE(HAVE_BIGNUM, 1,
[define if you have
SSLeay or
OpenSSL's BIGNUM])
[define if you have OpenSSL's BIGNUM])
;;
;;
gmp)
gmp)
AC_DEFINE(HAVE_GMP, 1, [define if you have -lgmp])
AC_DEFINE(HAVE_GMP, 1, [define if you have -lgmp])
...
...
This diff is collapsed.
Click to expand it.
include/portable.hin
+
5
−
11
View file @
ca81b49f
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
/* define if Berkeley DB has DB_THREAD support */
/* define if Berkeley DB has DB_THREAD support */
#undef HAVE_BERKELEY_DB_THREAD
#undef HAVE_BERKELEY_DB_THREAD
/* define if you have
SSLeay or
OpenSSL's BIGNUM */
/* define if you have OpenSSL's BIGNUM */
#undef HAVE_BIGNUM
#undef HAVE_BIGNUM
/* Define to 1 if you have the <bits/types.h> header file. */
/* Define to 1 if you have the <bits/types.h> header file. */
...
@@ -427,6 +427,9 @@
...
@@ -427,6 +427,9 @@
/* if you have NT Threads */
/* if you have NT Threads */
#undef HAVE_NT_THREADS
#undef HAVE_NT_THREADS
/* define if you have OpenSSL */
#undef HAVE_OPENSSL
/* Define to 1 if you have the <openssl/bn.h> header file. */
/* Define to 1 if you have the <openssl/bn.h> header file. */
#undef HAVE_OPENSSL_BN_H
#undef HAVE_OPENSSL_BN_H
...
@@ -508,7 +511,7 @@
...
@@ -508,7 +511,7 @@
/* define if you have res_query() */
/* define if you have res_query() */
#undef HAVE_RES_QUERY
#undef HAVE_RES_QUERY
/* define if
you have
RSAref */
/* define if
OpenSSL needs
RSAref */
#undef HAVE_RSAREF
#undef HAVE_RSAREF
/* Define to 1 if you have the <sasl.h> header file. */
/* Define to 1 if you have the <sasl.h> header file. */
...
@@ -589,12 +592,6 @@
...
@@ -589,12 +592,6 @@
/* Define to 1 if you have the <sql.h> header file. */
/* Define to 1 if you have the <sql.h> header file. */
#undef HAVE_SQL_H
#undef HAVE_SQL_H
/* define if you have SSLeay or OpenSSL */
#undef HAVE_SSLEAY
/* Define to 1 if you have the <ssl.h> header file. */
#undef HAVE_SSL_H
/* Define to 1 if you have the <stddef.h> header file. */
/* Define to 1 if you have the <stddef.h> header file. */
#undef HAVE_STDDEF_H
#undef HAVE_STDDEF_H
...
@@ -984,9 +981,6 @@
...
@@ -984,9 +981,6 @@
/* define for Dynamic List overlay */
/* define for Dynamic List overlay */
#undef SLAPD_OVER_DYNLIST
#undef SLAPD_OVER_DYNLIST
/* define for Backend Glue overlay */
#undef SLAPD_OVER_GLUE
/* define for Last Modification overlay */
/* define for Last Modification overlay */
#undef SLAPD_OVER_LASTMOD
#undef SLAPD_OVER_LASTMOD
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment