crypt32(1/8): Trace encoding and decoding public keys on crypt channel

Juan Lang juan.lang at gmail.com
Tue Aug 21 17:19:06 CDT 2007


--Juan
-------------- next part --------------
From 2d99a15682bacc1eff09308bd84aee4c49cf0f63 Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Tue, 21 Aug 2007 15:11:09 -0700
Subject: [PATCH] Trace encoding and decoding public keys on crypt channel
---
 dlls/crypt32/encode.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c
index 96e94f4..05c52e6 100644
--- a/dlls/crypt32/encode.c
+++ b/dlls/crypt32/encode.c
@@ -3627,9 +3627,9 @@ static BOOL WINAPI CRYPT_ExportRsaPublic
     HCRYPTKEY key;
     static CHAR oid[] = szOID_RSA_RSA;
 
-    TRACE("(%08lx, %d, %08x, %s, %08x, %p, %p, %p)\n", hCryptProv, dwKeySpec,
-     dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, pvAuxInfo,
-     pInfo, pcbInfo);
+    TRACE_(crypt)("(%08lx, %d, %08x, %s, %08x, %p, %p, %p)\n", hCryptProv,
+     dwKeySpec, dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags,
+     pvAuxInfo, pInfo, pcbInfo);
 
     if (!pszPublicKeyObjId)
         pszPublicKeyObjId = oid;
@@ -3748,7 +3748,7 @@ static BOOL WINAPI CRYPT_ImportRsaPublic
     BOOL ret;
     DWORD pubKeySize = 0;
 
-    TRACE("(%08lx, %d, %p, %d, %08x, %p, %p)\n", hCryptProv,
+    TRACE_(crypt)("(%08lx, %d, %p, %d, %08x, %p, %p)\n", hCryptProv,
      dwCertEncodingType, pInfo, aiKeyAlg, dwFlags, pvAuxInfo, phKey);
 
     ret = CryptDecodeObject(dwCertEncodingType, RSA_CSP_PUBLICKEYBLOB,
-- 
1.4.1


More information about the wine-patches mailing list