aboutsummaryrefslogtreecommitdiff
path: root/install-win32/signinstaller
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-04-25 21:37:49 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-04-25 21:37:49 +0000
commit657ecf14acc58a6d345341a5e36411bde5be9cd9 (patch)
tree4f5a53feb9c26991d822e2e606de511f57e32be6 /install-win32/signinstaller
parentForgot to add changelog item about OpenVPN GUI being (diff)
downloadopenvpn-657ecf14acc58a6d345341a5e36411bde5be9cd9.tar.xz
TAP driver now passes signing tests on Vista x64.
Added new settings to settings.in to better control build process. Removed some unneeded JYFIXMEs from source code. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1874 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/signinstaller')
-rw-r--r--install-win32/signinstaller16
1 files changed, 5 insertions, 11 deletions
diff --git a/install-win32/signinstaller b/install-win32/signinstaller
index 013688b..a802360 100644
--- a/install-win32/signinstaller
+++ b/install-win32/signinstaller
@@ -1,22 +1,16 @@
#!/bin/sh
-# Sign the installer
-# SIGNCODE should point to directory with signcode.exe and keys
+# Sign the installer.
c=`pwd`
# load version.nsi definitions
. autodefs/defs.sh
-if [ -n "$SIGNCODE" ] ; then
-
+if [ -d "$SIGNTOOL" ]; then
cd install-win32
- ls openvpn*.exe 2>/dev/null || exit 1
- exe=`pwd`/`ls -t openvpn*.exe | head -n 1`
+ ls *.exe 2>/dev/null || exit 1
+ export TARGET_EXE=$(pwd)/$(ls -t *.exe | head -n 1)
cd $c
- cd "$SIGNCODE"
-
- TS="http://timestamp.verisign.com/scripts/timstamp.dll"
- echo '******************' SIGNCODE OpenVPN INSTALLER
- ./signcode -spc mycredentials.spc -v myprivatekey.pvk -a sha1 -n "OpenVPN Installer" -t $TS `perl $c/install-win32/dosname.pl $exe`
+ $SIGNTOOL/signexe
fi