big svn cleanup
[anytun.git] / src / openvpn / easy-rsa / build-dh
blob6de4bafb54321928ddf30f065f6001ee3c71ed9e
1 #!/bin/sh
4 # Build Diffie-Hellman parameters for the server side
5 # of an SSL/TLS connection.
8 if test $KEY_DIR; then
9 openssl dhparam -out ${KEY_DIR}/dh${KEY_SIZE}.pem ${KEY_SIZE}
10 else
11 echo you must define KEY_DIR