From 6825182b8137c036afcdc0e48397c0ea5ffc2404 Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Wed, 22 Jun 2011 17:16:03 +0200 Subject: Refactored to rand_bytes for OpenSSL-independency Signed-off-by: Adriaan de Jong Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 266a5af..ca56ae3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -85,7 +85,7 @@ openvpn_SOURCES = \ clinat.c clinat.h \ common.h \ config-win32.h \ - crypto.c crypto.h \ + crypto.c crypto.h crypto_backend.h \ dhcp.c dhcp.h \ errlevel.h \ error.c error.h \ @@ -152,6 +152,11 @@ configure.h: Makefile awk -f $(srcdir)/configure_h.awk config.h > $@ awk -f $(srcdir)/configure_log.awk config.log >> $@ +if USE_OPENSSL +openvpn_SOURCES += \ + crypto_openssl.c crypto_openssl.h +endif + dist-hook: cd $(distdir) && for i in $(EXTRA_DIST) $(SUBDIRS) ; do find $$i -name .svn -type d -prune -exec rm -rf '{}' ';' ; rm -f `find $$i -type f | grep -E '(^|\/)\.?\#|\~$$|\.s?o$$'` ; done -- cgit v1.1