Juan Lang : crypt32:
Add stubs for CryptFindOIDInfo and I_CryptInstallAsn1Module.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 22 15:30:17 CST 2006
Module: wine
Branch: refs/heads/master
Commit: d740f342b94dd6cf3d4e307c2206665f07fde185
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d740f342b94dd6cf3d4e307c2206665f07fde185
Author: Juan Lang <juan_lang at yahoo.com>
Date: Wed Feb 22 07:37:24 2006 -0800
crypt32: Add stubs for CryptFindOIDInfo and I_CryptInstallAsn1Module.
Move CryptVerifyMessageSignature stub to main.c.
---
dlls/crypt32/cert.c | 10 ----------
dlls/crypt32/crypt32.spec | 3 ++-
dlls/crypt32/main.c | 16 ++++++++++++++++
dlls/crypt32/oid.c | 7 +++++++
4 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c
index c969edb..1b38c40 100644
--- a/dlls/crypt32/cert.c
+++ b/dlls/crypt32/cert.c
@@ -314,16 +314,6 @@ BOOL WINAPI CryptVerifyCertificateSignat
return ret;
}
-BOOL WINAPI CryptVerifyMessageSignature(/*PCRYPT_VERIFY_MESSAGE_PARA*/ void* pVerifyPara,
- DWORD dwSignerIndex, const BYTE* pbSignedBlob, DWORD cbSignedBlob,
- BYTE* pbDecoded, DWORD* pcbDecoded, PCCERT_CONTEXT* ppSignerCert)
-{
- FIXME("stub: %p, %ld, %p, %ld, %p, %p, %p\n",
- pVerifyPara, dwSignerIndex, pbSignedBlob, cbSignedBlob,
- pbDecoded, pcbDecoded, ppSignerCert);
- return FALSE;
-}
-
BOOL WINAPI CertGetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext, DWORD dwFlags,
PCERT_ENHKEY_USAGE pUsage, DWORD *pcbUsage)
{
diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index 1ba868b..abeff35 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -102,7 +102,7 @@
@ stub CryptExportPKCS8
@ stdcall CryptExportPublicKeyInfo(long long long ptr ptr)
@ stdcall CryptExportPublicKeyInfoEx(long long long str long ptr ptr ptr)
-@ stub CryptFindOIDInfo
+@ stdcall CryptFindOIDInfo(long ptr long)
@ stub CryptFormatObject
@ stdcall CryptFreeOIDFunctionAddress(long long)
@ stub CryptGetAsyncParam
@@ -181,6 +181,7 @@
@ stdcall I_CryptGetOssGlobal(long)
@ stdcall I_CryptGetTls(long)
@ stub I_CryptInsertLruEntry
+@ stdcall I_CryptInstallAsn1Module(long long long)
@ stdcall I_CryptInstallOssGlobal(long long long)
@ stub I_CryptReleaseLruEntry
@ stdcall I_CryptSetTls(long ptr)
diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index 4a7de5f..6333f0c 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -365,6 +365,12 @@ BOOL WINAPI I_CryptInstallOssGlobal(DWOR
return FALSE;
}
+BOOL WINAPI I_CryptInstallAsn1Module(void *x, DWORD y, DWORD z)
+{
+ FIXME("%p %08lx %08lx\n", x, y, z);
+ return TRUE;
+}
+
BOOL WINAPI CryptQueryObject(DWORD dwObjectType, const void* pvObject,
DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags,
DWORD dwFlags, DWORD* pdwMsgAndCertEncodingType, DWORD* pdwContentType,
@@ -377,3 +383,13 @@ BOOL WINAPI CryptQueryObject(DWORD dwObj
phCertStore, phMsg, ppvContext);
return FALSE;
}
+
+BOOL WINAPI CryptVerifyMessageSignature(/*PCRYPT_VERIFY_MESSAGE_PARA*/ void* pVerifyPara,
+ DWORD dwSignerIndex, const BYTE* pbSignedBlob, DWORD cbSignedBlob,
+ BYTE* pbDecoded, DWORD* pcbDecoded, PCCERT_CONTEXT* ppSignerCert)
+{
+ FIXME("stub: %p, %ld, %p, %ld, %p, %p, %p\n",
+ pVerifyPara, dwSignerIndex, pbSignedBlob, cbSignedBlob,
+ pbDecoded, pcbDecoded, ppSignerCert);
+ return FALSE;
+}
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index f9c4be8..f474639 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -84,6 +84,13 @@ BOOL WINAPI CryptEnumOIDInfo(DWORD dwGro
return TRUE;
}
+PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType, void *pvKey,
+ DWORD dwGroupId)
+{
+ FIXME("(%ld, %p, %ld): stub\n", dwKeyType, pvKey, dwGroupId);
+ return NULL;
+}
+
/* There is no free function associated with this; therefore, the sets are
* freed when crypt32.dll is unloaded.
*/
More information about the wine-cvs
mailing list