From 9033fa9ab256e590c09a94550e5f23deee7b43b7 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Fri, 17 Oct 2008 14:40:05 -0700 Subject: [PATCH] wintrust: Add stub for WVTAsn1CatNameValueEncode. --- dlls/wintrust/asn.c | 9 +++++++++ dlls/wintrust/wintrust.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/wintrust/asn.c b/dlls/wintrust/asn.c index 2ba5eb60795..9a1c1b822d5 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 28de78be41f..5c86b4548ec 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)