Rob Shearman : rsaenh: Add a value to the empty braces in the initialiser for aOIDDescriptor in build_hash_signature .

Alexandre Julliard julliard at winehq.org
Wed Oct 15 10:08:48 CDT 2008


Module: wine
Branch: master
Commit: b069b53bd9b210c3cee0a36fe489f2e78c20f23c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b069b53bd9b210c3cee0a36fe489f2e78c20f23c

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Wed Oct 15 14:12:27 2008 +0100

rsaenh: Add a value to the empty braces in the initialiser for aOIDDescriptor in build_hash_signature.

An empty initialiser isn't supported on some compilers like MSVC.

---

 dlls/rsaenh/rsaenh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rsaenh/rsaenh.c b/dlls/rsaenh/rsaenh.c
index e681d69..b935ee3 100644
--- a/dlls/rsaenh/rsaenh.c
+++ b/dlls/rsaenh/rsaenh.c
@@ -1259,7 +1259,7 @@ static BOOL build_hash_signature(BYTE *pbSignature, DWORD dwLen, ALG_ID aiAlgid,
                           0x86, 0xf7, 0x0d, 0x02, 0x05, 0x05, 0x00, 0x04, 0x10 } },
         { CALG_SHA, 15, { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e, 0x03, 
                           0x02, 0x1a, 0x05, 0x00, 0x04, 0x14 } },
-        { 0,        0,  {} }
+        { 0,        0,  { 0 } }
     };
     DWORD dwIdxOID, i, j;
 




More information about the wine-cvs mailing list