secur32: Allow loading external schannel.dll.

Huang, Zhangrong hzhrong at gmail.com
Mon Jun 23 10:35:52 CDT 2008


Hi,

Since secur32.dll has implement the SecurityFunctionTable of schannel
provider built-in, and schannel.dll's SecurityFunctionTable is  just
farwarded to secur32.dll, there're some problems when trying to load
external schannel.dll.

First, by setting the following registry, when loading secur32.dll we
get duplicate schannel providers.
[System\\CurrentControlSet\\Control\\SecurityProviders]
"SecurityProviders"="schannel.dll"

Second, SECUR32_findPackageW doesn't load external schannel.dll when needed.

This patch will fix these problems. If loading schannel.dll
successful, secur32.dll can call SpLsaModeInitialize to get the
SECPKG_FUNCTION_TABLE later.

-- 
$ apt-get moo
 (__)
 (oo)
 /------\/
 / | ||
 * /\---/\
 ~~ ~~
...."Have you mooed today?"...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-secur32-Allow-loading-external-schannel.dll.patch
Type: application/mbox
Size: 3663 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080623/b7759193/attachment.bin 


More information about the wine-patches mailing list