Juan Lang : crypt32: Don' t abort early if encoding type is 0 for CryptRegisterOIDFunction/ CryptUnregisterOIDFunction.
Alexandre Julliard
julliard at winehq.org
Thu Oct 18 07:59:37 CDT 2007
Module: wine
Branch: master
Commit: 46ead27165f5ff1feec840a9b8783d7a1052ed14
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46ead27165f5ff1feec840a9b8783d7a1052ed14
Author: Juan Lang <juan.lang at gmail.com>
Date: Wed Oct 17 09:33:30 2007 -0700
crypt32: Don't abort early if encoding type is 0 for CryptRegisterOIDFunction/CryptUnregisterOIDFunction.
---
dlls/crypt32/oid.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index c33d7aa..f4d254d 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -602,10 +602,6 @@ BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
TRACE("(%x, %s, %s, %s, %s)\n", dwEncodingType, pszFuncName,
debugstr_a(pszOID), debugstr_w(pwszDll), pszOverrideFuncName);
- /* This only registers functions for encoding certs, not messages */
- if (!GET_CERT_ENCODING_TYPE(dwEncodingType))
- return TRUE;
-
/* Native does nothing pwszDll is NULL */
if (!pwszDll)
return TRUE;
@@ -666,9 +662,6 @@ BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
TRACE("%x %s %s\n", dwEncodingType, debugstr_a(pszFuncName),
debugstr_a(pszOID));
- if (!GET_CERT_ENCODING_TYPE(dwEncodingType))
- return TRUE;
-
if (!pszFuncName || !pszOID)
{
SetLastError(ERROR_INVALID_PARAMETER);
More information about the wine-cvs
mailing list