[icinga-checkins] icinga.org: icinga-nrpe/mfriedrich/fixes: remove creation of anonymous DH ( include/dh.h) as it remains useless

git at icinga.org git at icinga.org
Sun Nov 13 17:35:54 CET 2011


Module: icinga-nrpe
Branch: mfriedrich/fixes
Commit: 4b7a772309a6d22f46da4d98dd34cf68d0c77a93
URL:    https://git.icinga.org/?p=icinga-nrpe.git;a=commit;h=4b7a772309a6d22f46da4d98dd34cf68d0c77a93

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Sun Nov 13 17:35:16 2011 +0100

remove creation of anonymous DH (include/dh.h) as it remains useless

refs #291

---

 configure    |   10 ----------
 configure.in |   11 -----------
 2 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/configure b/configure
index 5710711..dcd70a6 100755
--- a/configure
+++ b/configure
@@ -4875,16 +4875,6 @@ $as_echo_n "checking for SSL libraries... " >&6; }
 _ACEOF
 
 
-
-						echo ""
-			echo "*** Generating DH Parameters for SSL/TLS ***"
-			if test -f "$ssldir/sbin/openssl"; then
-				sslbin=$ssldir/sbin/openssl
-			else
-				sslbin=$ssldir/bin/openssl
-			fi
-			# awk to strip off meta data at bottom of dhparam output
-			$sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
 		fi
 	fi
 
diff --git a/configure.in b/configure.in
index 6b5ff75..05eee97 100644
--- a/configure.in
+++ b/configure.in
@@ -303,17 +303,6 @@ if test x$check_for_ssl = xyes; then
 
 			AC_DEFINE_UNQUOTED(HAVE_SSL)
 			AC_SUBST(HAVE_SSL)
-	
-			dnl Generate DH parameters
-			echo ""
-			echo "*** Generating DH Parameters for SSL/TLS ***"
-			if test -f "$ssldir/sbin/openssl"; then
-				sslbin=$ssldir/sbin/openssl
-			else
-				sslbin=$ssldir/bin/openssl
-			fi
-			# awk to strip off meta data at bottom of dhparam output
-			$sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
 		fi
 	fi
 





More information about the icinga-checkins mailing list