Juan Lang : crypt32: Actually skip content when skipping an item in a sequence.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 26 06:37:25 CDT 2007


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Wed Jul 25 18:10:40 2007 -0700

crypt32: Actually skip content when skipping an item in a sequence.

---

 dlls/crypt32/decode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c
index 8a062ce..7281b15 100644
--- a/dlls/crypt32/decode.c
+++ b/dlls/crypt32/decode.c
@@ -381,6 +381,7 @@ static BOOL CRYPT_AsnDecodeSequenceItems(DWORD dwCertEncodingType,
                     }
                     else
                     {
+                        ptr += 1 + nextItemLenBytes + nextItemLen;
                         decoded += 1 + nextItemLenBytes + nextItemLen;
                         items[i].size = items[i].minSize;
                     }




More information about the wine-cvs mailing list