Kai Blin wrote:

+        case SECPKG_ATTR_SIZES:
+            {
+                PSecPkgContext_Sizes spcs =
+                    SECUR32_ALLOC(sizeof(SecPkgContext_Sizes));
+                spcs->cbMaxToken = NTLM_MAX_BUF;
+                spcs->cbMaxSignature = 16;
+                spcs->cbBlockSize = 1;
+                spcs->cbSecurityTrailer = 16;
+                pBuffer = spcs;
+                return SEC_E_OK;
+            }


This doesn't seem to set pBuffer to spcs. What did I miss here?

Maybe that should be *pBuffer? just guessing though


Reply via email to