Juan Lang : crypt32:
Always set required encoded length in CryptEncodeObject(Ex).
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 18 05:13:30 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 11d018471ba960a5c2f95533a4c954bee3705dd5
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=11d018471ba960a5c2f95533a4c954bee3705dd5
Author: Juan Lang <juan_lang at yahoo.com>
Date: Mon Jul 17 19:44:54 2006 -0700
crypt32: Always set required encoded length in CryptEncodeObject(Ex).
---
dlls/crypt32/encode.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c
index 2f4e531..fc8235a 100644
--- a/dlls/crypt32/encode.c
+++ b/dlls/crypt32/encode.c
@@ -163,6 +163,8 @@ static BOOL CRYPT_EncodeEnsureSpace(DWOR
SetLastError(ERROR_MORE_DATA);
ret = FALSE;
}
+ else
+ *pcbEncoded = bytesNeeded;
return ret;
}
More information about the wine-cvs
mailing list