Juan Lang : crypt32: Return bytes decoded when decoding a sequence.
Alexandre Julliard
julliard at winehq.org
Tue Sep 18 05:31:16 CDT 2007
Module: wine
Branch: master
Commit: fd982c85976819bec370e13d3a99ac78a17d99aa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd982c85976819bec370e13d3a99ac78a17d99aa
Author: Juan Lang <juan.lang at gmail.com>
Date: Mon Sep 17 15:04:37 2007 -0700
crypt32: Return bytes decoded when decoding a sequence.
---
dlls/crypt32/decode.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c
index 814f6b4..6370d81 100644
--- a/dlls/crypt32/decode.c
+++ b/dlls/crypt32/decode.c
@@ -460,6 +460,8 @@ static BOOL CRYPT_AsnDecodeSequence(DWORD dwCertEncodingType,
ret = CRYPT_AsnDecodeSequenceItems(dwFlags, items, cItem,
ptr, cbEncoded, dwFlags, pvStructInfo, nextData,
&cbDecoded);
+ if (ret && pcbDecoded)
+ *pcbDecoded = 1 + lenBytes + cbDecoded;
}
}
}
More information about the wine-cvs
mailing list