47583479f3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11694 3c298f89-4303-0410-b956-a3cf2f4a3e73
18 lines
516 B
Diff
18 lines
516 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -6694,11 +6694,9 @@
|
|
|
|
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
|
|
+ # Use host openssl as it just generates some random stuff,
|
|
+ # nothing machine-specific
|
|
+ sslbin=/usr/bin/openssl
|
|
# awk to strip off meta data at bottom of dhparam output
|
|
$sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
|
|
fi
|