summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-09 16:43:58 +0100
committerDr. Stephen Henson <steve@openssl.org>2012-02-09 16:43:58 +0100
commit57559471bfeaac8bf37d805f913c7a2d003df333 (patch)
tree9a29557d5876dfde22fb7ae0c413d103e2d38a3e /demos
parentModify client hello version when renegotiating to enhance interop with (diff)
downloadopenssl-57559471bfeaac8bf37d805f913c7a2d003df333.tar.xz
openssl-57559471bfeaac8bf37d805f913c7a2d003df333.zip
oops, revert unrelated changes
Diffstat (limited to 'demos')
-rw-r--r--demos/certs/mkcerts.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/demos/certs/mkcerts.sh b/demos/certs/mkcerts.sh
index 2cf39482c7..0d55e8f846 100644
--- a/demos/certs/mkcerts.sh
+++ b/demos/certs/mkcerts.sh
@@ -30,10 +30,7 @@ $OPENSSL x509 -req -in creq.pem -CA intca.pem -CAkey intkey.pem -days 3600 \
# First DH parameters
-$OPENSSL genpkey -genparam -algorithm DH -pkeyopt dh_paramgen_prime_len:1024 -out dhp.pem
-
-# Uncomment out this line for X9.42 DH parameters instead
-$OPENSSL genpkey -genparam -algorithm DH -out dhp.pem -pkeyopt dh_rfc5114:2
+[ -f dhp.pem ] || $OPENSSL genpkey -genparam -algorithm DH -pkeyopt dh_paramgen_prime_len:1024 -out dhp.pem
# Now a DH private key
$OPENSSL genpkey -paramfile dhp.pem -out dhskey.pem