6 echo "*** Generating DH Parameters for SSL/TLS ***"
7 - if test -f "$ssldir/sbin/openssl"; then
8 - sslbin=$ssldir/sbin/openssl
10 - sslbin=$ssldir/bin/openssl
12 + # Use host openssl as it just generates some random stuff,
13 + # nothing machine-specific
14 + sslbin=/usr/bin/openssl
15 # awk to strip off meta data at bottom of dhparam output
16 $sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h