Don't need libssl (only libcrypto)
diff --git a/Makefile.in b/Makefile.in
index 249a344..b653284 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -85,7 +85,7 @@
DIST_COMMON = $(srcdir)/aminclude.am $(srcdir)/Makefile.in \
$(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(srcdir)/config.h.in \
- $(dist_noinst_SCRIPTS) depcomp COPYING ar-lib compile \
+ $(dist_noinst_SCRIPTS) depcomp COPYING INSTALL ar-lib compile \
config.guess config.sub install-sh missing ltmain.sh
bin_PROGRAMS = bin/test-encode-decode-interest$(EXEEXT) \
bin/test-encode-decode-data$(EXEEXT) \
diff --git a/config.h.in b/config.h.in
index b91c0cf..87c8c3e 100644
--- a/config.h.in
+++ b/config.h.in
@@ -15,9 +15,6 @@
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#undef HAVE_LIBCRYPTO
-/* Define to 1 if you have the `ssl' library (-lssl). */
-#undef HAVE_LIBSSL
-
/* 1 if have memcmp in memory.h. */
#undef HAVE_MEMCMP
diff --git a/configure b/configure
index 4a4e0e9..24102ce 100755
--- a/configure
+++ b/configure
@@ -15510,56 +15510,6 @@
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
-$as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
-if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char SSL_library_init ();
-int
-main ()
-{
-return SSL_library_init ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
- ac_cv_lib_ssl_SSL_library_init=yes
-else
- ac_cv_lib_ssl_SSL_library_init=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
-$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
-if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBSSL 1
-_ACEOF
-
- LIBS="-lssl $LIBS"
-
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "can't find openssl ssl lib
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_EncryptInit in -lcrypto" >&5
$as_echo_n "checking for EVP_EncryptInit in -lcrypto... " >&6; }
if ${ac_cv_lib_crypto_EVP_EncryptInit+:} false; then :
diff --git a/configure.ac b/configure.ac
index 5cfd9ca..25c7c57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,8 +12,6 @@
AC_LANG([C++])
AX_CXX_COMPILE_STDCXX_11(, optional)
-AC_CHECK_LIB([ssl], [SSL_library_init], [],
- [AC_MSG_FAILURE([can't find openssl ssl lib])])
AC_CHECK_LIB([crypto], [EVP_EncryptInit], [],
[AC_MSG_FAILURE([can't find openssl crypto lib])])