Juan Lang : wintrust: Add stub for WVTAsn1CatNameValueEncode.

Alexandre Julliard julliard at winehq.org
Sat Oct 18 13:38:56 CDT 2008


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Fri Oct 17 14:40:05 2008 -0700

wintrust: Add stub for WVTAsn1CatNameValueEncode.

---

 dlls/wintrust/asn.c         |    9 +++++++++
 dlls/wintrust/wintrust.spec |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/wintrust/asn.c b/dlls/wintrust/asn.c
index 2ba5eb6..9a1c1b8 100644
--- a/dlls/wintrust/asn.c
+++ b/dlls/wintrust/asn.c
@@ -907,6 +907,15 @@ BOOL WINAPI WVTAsn1CatMemberInfoEncode(DWORD dwCertEncodingType,
     return ret;
 }
 
+BOOL WINAPI WVTAsn1CatNameValueEncode(DWORD dwCertEncodingType,
+ LPCSTR lpszStructType, const void *pvStructInfo, BYTE *pbEncoded,
+ DWORD *pcbEncoded)
+{
+    FIXME("(0x%08x, %s, %p, %p, %p): stub\n", dwCertEncodingType,
+     debugstr_a(lpszStructType), pvStructInfo, pbEncoded, pcbEncoded);
+    return FALSE;
+}
+
 /* Gets the number of length bytes from the given (leading) length byte */
 #define GET_LEN_BYTES(b) ((b) <= 0x7f ? 1 : 1 + ((b) & 0x7f))
 
diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec
index 28de78b..5c86b45 100644
--- a/dlls/wintrust/wintrust.spec
+++ b/dlls/wintrust/wintrust.spec
@@ -89,7 +89,7 @@
 @ stdcall WVTAsn1CatMemberInfoDecode(long str ptr long long ptr ptr)
 @ stdcall WVTAsn1CatMemberInfoEncode(long str ptr ptr ptr)
 @ stub WVTAsn1CatNameValueDecode
-@ stub WVTAsn1CatNameValueEncode
+@ stdcall WVTAsn1CatNameValueEncode(long str ptr ptr ptr)
 @ stub WVTAsn1SpcFinancialCriteriaInfoDecode
 @ stub WVTAsn1SpcFinancialCriteriaInfoEncode
 @ stdcall WVTAsn1SpcIndirectDataContentDecode(long str ptr long long ptr ptr)




More information about the wine-cvs mailing list