repo.or.cz
/
anytun.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
big svn cleanup
[anytun.git]
/
src
/
openvpn
/
easy-rsa
/
build-dh
blob
6de4bafb54321928ddf30f065f6001ee3c71ed9e
1
#!/bin/sh
2
3
#
4
# Build Diffie-Hellman parameters for the server side
5
# of an SSL/TLS connection.
6
#
7
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
12
fi