File tree Expand file tree Collapse file tree 6 files changed +25
-18
lines changed
Expand file tree Collapse file tree 6 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 77#endif
88
99VS_VERSION_INFO VERSIONINFO
10- FILEVERSION 1,3,716 ,0
11- PRODUCTVERSION 1,3,716 ,0
10+ FILEVERSION 1,3,717 ,0
11+ PRODUCTVERSION 1,3,717 ,0
1212 FILEFLAGSMASK 0x17L
1313#ifdef _DEBUG
1414 FILEFLAGS 0x1L
@@ -25,13 +25,13 @@ BEGIN
2525 BEGIN
2626 VALUE "CompanyName", "akeo.ie"
2727 VALUE "FileDescription", "WDI-Simple"
28- VALUE "FileVersion", "1.3.716 "
28+ VALUE "FileVersion", "1.3.717 "
2929 VALUE "InternalName", "WDI-Simple"
3030 VALUE "LegalCopyright", "� 2010-2017 Pete Batard (LGPL v3)"
3131 VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
3232 VALUE "OriginalFilename", "wdi-simple.exe"
3333 VALUE "ProductName", "WDI-Simple"
34- VALUE "ProductVersion", "1.3.716 "
34+ VALUE "ProductVersion", "1.3.717 "
3535 VALUE "Comments", "http://libwdi.akeo.ie"
3636 END
3737 END
Original file line number Diff line number Diff line change 5656//
5757
5858VS_VERSION_INFO VERSIONINFO
59- FILEVERSION 1,3,716 ,0
60- PRODUCTVERSION 1,3,716 ,0
59+ FILEVERSION 1,3,717 ,0
60+ PRODUCTVERSION 1,3,717 ,0
6161 FILEFLAGSMASK 0x17L
6262#ifdef _DEBUG
6363 FILEFLAGS 0x1L
@@ -74,13 +74,13 @@ BEGIN
7474 BEGIN
7575 VALUE "CompanyName", "akeo.ie"
7676 VALUE "FileDescription", "Zadic"
77- VALUE "FileVersion", "1.3.716 "
77+ VALUE "FileVersion", "1.3.717 "
7878 VALUE "InternalName", "Zadic"
7979 VALUE "LegalCopyright", "� 2010-2017 Pete Batard (LGPL v3)"
8080 VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
8181 VALUE "OriginalFilename", "zadic.exe"
8282 VALUE "ProductName", "Zadic"
83- VALUE "ProductVersion", "1.3.716 "
83+ VALUE "ProductVersion", "1.3.717 "
8484 VALUE "Comments", "http://libwdi.akeo.ie"
8585 END
8686 END
Original file line number Diff line number Diff line change 5959#define FIELD_ORANGE RGB(255,240,200)
6060#define ARROW_GREEN RGB(92,228,65)
6161#define ARROW_ORANGE RGB(253,143,56)
62- #define APP_VERSION "Zadig 2.3.716 "
62+ #define APP_VERSION "Zadig 2.3.717 "
6363
6464// These are used to flag end users about the driver they are going to replace
6565enum driver_type {
Original file line number Diff line number Diff line change 246246//
247247
248248VS_VERSION_INFO VERSIONINFO
249- FILEVERSION 2,3,716 ,0
250- PRODUCTVERSION 2,3,716 ,0
249+ FILEVERSION 2,3,717 ,0
250+ PRODUCTVERSION 2,3,717 ,0
251251 FILEFLAGSMASK 0x17L
252252#ifdef _DEBUG
253253 FILEFLAGS 0x1L
@@ -264,13 +264,13 @@ BEGIN
264264 BEGIN
265265 VALUE "CompanyName", "akeo.ie"
266266 VALUE "FileDescription", "Zadig"
267- VALUE "FileVersion", "2.3.716 "
267+ VALUE "FileVersion", "2.3.717 "
268268 VALUE "InternalName", "Zadig"
269269 VALUE "LegalCopyright", "� 2010-2017 Pete Batard (GPL v3)"
270270 VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
271271 VALUE "OriginalFilename", "zadig.exe"
272272 VALUE "ProductName", "Zadig"
273- VALUE "ProductVersion", "2.3.716 "
273+ VALUE "ProductVersion", "2.3.717 "
274274 VALUE "Comments", "http://libwdi.akeo.ie"
275275 END
276276 END
Original file line number Diff line number Diff line change 5050//
5151
5252VS_VERSION_INFO VERSIONINFO
53- FILEVERSION 1,3,716 ,0
54- PRODUCTVERSION 1,3,716 ,0
53+ FILEVERSION 1,3,717 ,0
54+ PRODUCTVERSION 1,3,717 ,0
5555 FILEFLAGSMASK 0x17L
5656#ifdef _DEBUG
5757 FILEFLAGS 0x1L
@@ -68,13 +68,13 @@ BEGIN
6868 BEGIN
6969 VALUE "CompanyName", "akeo.ie"
7070 VALUE "FileDescription", "libwdi: Windows Driver Installer Library"
71- VALUE "FileVersion", "1.3.716 "
71+ VALUE "FileVersion", "1.3.717 "
7272 VALUE "InternalName", "libwdi"
7373 VALUE "LegalCopyright", "� 2010-2017 Pete Batard (LGPL v3)"
7474 VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
7575 VALUE "OriginalFilename", "libwdi"
7676 VALUE "ProductName", "libwdi"
77- VALUE "ProductVersion", "1.3.716 "
77+ VALUE "ProductVersion", "1.3.717 "
7878 VALUE "Comments", "http://libwdi.akeo.ie"
7979 END
8080 END
Original file line number Diff line number Diff line change 3838#include "installer.h"
3939#include "libwdi.h"
4040#include "logging.h"
41+ #include "stdfn.h"
4142
4243#define KEY_CONTAINER L"libwdi key container"
4344#define PF_ERR wdi_err
4445#ifndef CERT_STORE_PROV_SYSTEM_A
4546#define CERT_STORE_PROV_SYSTEM_A ((LPCSTR) 9)
4647#endif
48+ #ifndef szOID_RSA_SHA1RSA
49+ #define szOID_RSA_SHA1RSA "1.2.840.113549.1.1.5"
50+ #endif
4751#ifndef szOID_RSA_SHA256RSA
4852#define szOID_RSA_SHA256RSA "1.2.840.113549.1.1.11"
4953#endif
@@ -796,7 +800,10 @@ PCCERT_CONTEXT CreateSelfSignedCert(LPCSTR szCertSubject)
796800
797801 // Prepare algorithm structure for self-signed certificate
798802 memset (& SignatureAlgorithm , 0 , sizeof (SignatureAlgorithm ));
799- SignatureAlgorithm .pszObjId = szOID_RSA_SHA256RSA ;
803+
804+ // Windows 7 does not properly support SHA256 and may show a "Trusted Publisher" dialog unless SHA1 is used
805+ GetWindowsVersion ();
806+ SignatureAlgorithm .pszObjId = (nWindowsVersion > WINDOWS_7 ) ? szOID_RSA_SHA256RSA : szOID_RSA_SHA1RSA ;
800807
801808 // Create self-signed certificate
802809 pCertContext = pfCertCreateSelfSignCertificate ((ULONG_PTR )NULL ,
You can’t perform that action at this time.
0 commit comments