schannel: Tests for Sp[Lsa,User]ModeInitialize and GetInfo

James Hawkins truiken at gmail.com
Tue Apr 24 15:47:10 CDT 2007


On 4/24/07, Yuval Fledel <yuvalfl at gmail.com> wrote:
>
>

+#if 0
+    /* NULL parameters: All 3 crash as of Windows XP */
+    status = pSpLsaModeInitialize(0x10000, NULL, &pTables, &cTables);
+    status = pSpLsaModeInitialize(0x10000, &Version, NULL, &cTables);
+    status = pSpLsaModeInitialize(0x10000, &Version, &pTables, NULL);
+#endif

We try to avoid #if 0/#endif constructs.  Just add a comment that
states that the function crashes in XP if any of those three params
are NULL.

-- 
James Hawkins



More information about the wine-devel mailing list