]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix a build-ca issue on Windows
authorSamuli Seppänen <samuli@openvpn.net>
Fri, 17 Jun 2011 09:18:02 +0000 (12:18 +0300)
committerDavid Sommerseth <davids@redhat.com>
Mon, 20 Jun 2011 09:01:04 +0000 (11:01 +0200)
Fixes Trac ticket #125

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
easy-rsa/Windows/init-config.bat
win/openvpn.nsi

index 048d558534bd8ae62eddbfca9a78acce69ce471a..12e6d78e116bcafaf620305df04dd2576735b247 100755 (executable)
@@ -1,2 +1 @@
 copy vars.bat.sample vars.bat
-copy openssl.cnf.sample openssl.cnf
index d3f80d0c91ac8086dbeddcb1d43bb378ac017a31..d667d760266663062727ceb8cff3298caeb28e85 100755 (executable)
@@ -272,8 +272,9 @@ Section "${PRODUCT_NAME} RSA Certificate Management Scripts" SecOpenVPNEasyRSA
 
   # FIXME: the easy-rsa directory would need cleaning up
 
-  # Original nsi script looked for openssl.cnf.sample
-  File "${EASYRSA}\2.0\openssl.cnf"
+  # Original nsi script looked for ${EASYRSA}\2.0\openssl.cnf.sample. A newer
+  # openssl.cnf is needed on OpenVPN 2.2+.
+  File "${EASYRSA}\Windows\openssl.cnf"
 
   File "${EASYRSA}\Windows\vars.bat.sample"