diff -urN freeradius-1.1.7/debian/control freeradius-1.1.7-openssl/debian/control
--- freeradius-1.1.7/debian/control	2007-08-20 02:50:41.000000000 +0200
+++ freeradius-1.1.7-openssl/debian/control	2007-08-20 02:43:19.000000000 +0200
@@ -1,5 +1,5 @@
 Source: freeradius
-Build-Depends: debhelper (>= 5), libltdl3-dev, libpam0g-dev, libmysqlclient15-dev | libmysqlclient-dev, libgdbm-dev, libldap2-dev, libsasl2-dev, libiodbc2-dev, libkrb5-dev, snmp, autotools-dev, dpatch (>= 2), libperl-dev, libtool, dpkg-dev (>= 1.13.19), libpq-dev, libsnmp-dev
+Build-Depends: debhelper (>= 5), libltdl3-dev, libpam0g-dev, libmysqlclient15-dev | libmysqlclient-dev, libgdbm-dev, libldap2-dev, libsasl2-dev, libiodbc2-dev, libkrb5-dev, snmp, autotools-dev, dpatch (>= 2), libperl-dev, libtool, dpkg-dev (>= 1.13.19), libpq-dev, libsnmp-dev, libssl-dev
 Section: net
 Priority: optional
 Maintainer: Stephen Gran <sgran@debian.org>
diff -urN freeradius-1.1.7/debian/rules freeradius-1.1.7-openssl/debian/rules
--- freeradius-1.1.7/debian/rules	2007-08-20 02:50:41.000000000 +0200
+++ freeradius-1.1.7-openssl/debian/rules	2007-08-20 02:41:08.000000000 +0200
@@ -62,13 +62,13 @@
 		--with-large-files --with-udpfromto --with-edir \
 		--enable-developer \
 		--config-cache \
-		--without-rlm_eap_tls \
-		--without-rlm_eap_ttls \
-		--without-rlm_eap_peap \
+		--with-rlm_eap_tls \
+		--with-rlm_eap_ttls \
+		--with-rlm_eap_peap \
 		--without-rlm_otp \
 		--with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` \
 		--with-rlm_sql_postgresql_include_dir=`pg_config --includedir` \
-		--without-openssl \
+		--with-openssl \
 		--with-system-libtool
 
 build: build-arch build-indep
@@ -174,12 +174,6 @@
 	# We don't need ldconfig. None of our libraries go in it's paths
 	dh_makeshlibs -n -a
 	dh_shlibdeps -a
-	for pkg in $(shell grep ^Package debian/control | awk '{print $$2}') ; do \
-	  if dh_shlibdeps -p $$pkg -- -O | grep -q libssl; then \
-	    echo "$$pkg links to openssl" ;\
-	    exit 1 ;\
-	  fi ;\
-	done
 	dh_installdeb -a
 	dh_compress -a
 	dh_fixperms -a
