Juan Lang : secur32: Trace values of SCHANNEL_CRED structure.

Alexandre Julliard julliard at winehq.org
Fri Aug 7 08:49:43 CDT 2009


Module: wine
Branch: master
Commit: 570c57ac95c9feeb4a3b504943571352cbfbf64f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=570c57ac95c9feeb4a3b504943571352cbfbf64f

Author: Juan Lang <juan.lang at gmail.com>
Date:   Wed Aug  5 15:13:33 2009 -0700

secur32: Trace values of SCHANNEL_CRED structure.

---

 dlls/secur32/schannel.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c
index dc4f3b3..201304b 100644
--- a/dlls/secur32/schannel.c
+++ b/dlls/secur32/schannel.c
@@ -288,6 +288,21 @@ static SECURITY_STATUS SEC_ENTRY schan_QueryCredentialsAttributesW(
 static SECURITY_STATUS schan_CheckCreds(const SCHANNEL_CRED *schanCred)
 {
     SECURITY_STATUS st;
+    DWORD i;
+
+    TRACE("dwVersion = %d\n", schanCred->dwVersion);
+    TRACE("cCreds = %d\n", schanCred->cCreds);
+    TRACE("hRootStore = %p\n", schanCred->hRootStore);
+    TRACE("cMappers = %d\n", schanCred->cMappers);
+    TRACE("cSupportedAlgs = %d:\n", schanCred->cSupportedAlgs);
+    for (i = 0; i < schanCred->cSupportedAlgs; i++)
+        TRACE("%08x\n", schanCred->palgSupportedAlgs[i]);
+    TRACE("grbitEnabledProtocols = %08x\n", schanCred->grbitEnabledProtocols);
+    TRACE("dwMinimumCipherStrength = %d\n", schanCred->dwMinimumCipherStrength);
+    TRACE("dwMaximumCipherStrength = %d\n", schanCred->dwMaximumCipherStrength);
+    TRACE("dwSessionLifespan = %d\n", schanCred->dwSessionLifespan);
+    TRACE("dwFlags = %08x\n", schanCred->dwFlags);
+    TRACE("dwCredFormat = %d\n", schanCred->dwCredFormat);
 
     switch (schanCred->dwVersion)
     {




More information about the wine-cvs mailing list