98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
-
-
-
-
+
+
+
+
|
# Enable support for giving the same DH params each time
if [ "$1" = 'fallback' ]; then
gen_dh_params_fallback && exit 0
exit 1
fi
echo "*****************************"
echo "** Generating DH Primes. **"
echo "** This will take a while. **"
echo "*****************************"
echo "*****************************" >&2
echo "** Generating DH Primes. **" >&2
echo "** This will take a while. **" >&2
echo "*****************************" >&2
gen_dh_params_openssl && exit 0
gen_dh_params_remote && exit 0
gen_dh_params_fallback && exit 0
exit 1
|