crypt32: Trace encoding and decoding public keys on crypt channel.
This commit is contained in:
parent
ac1d912fb0
commit
b6032a41b3
|
@ -3627,9 +3627,9 @@ static BOOL WINAPI CRYPT_ExportRsaPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDL
|
||||||
HCRYPTKEY key;
|
HCRYPTKEY key;
|
||||||
static CHAR oid[] = szOID_RSA_RSA;
|
static CHAR oid[] = szOID_RSA_RSA;
|
||||||
|
|
||||||
TRACE("(%08lx, %d, %08x, %s, %08x, %p, %p, %p)\n", hCryptProv, dwKeySpec,
|
TRACE_(crypt)("(%08lx, %d, %08x, %s, %08x, %p, %p, %p)\n", hCryptProv,
|
||||||
dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, pvAuxInfo,
|
dwKeySpec, dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags,
|
||||||
pInfo, pcbInfo);
|
pvAuxInfo, pInfo, pcbInfo);
|
||||||
|
|
||||||
if (!pszPublicKeyObjId)
|
if (!pszPublicKeyObjId)
|
||||||
pszPublicKeyObjId = oid;
|
pszPublicKeyObjId = oid;
|
||||||
|
@ -3748,7 +3748,7 @@ static BOOL WINAPI CRYPT_ImportRsaPublicKeyInfoEx(HCRYPTPROV hCryptProv,
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
DWORD pubKeySize = 0;
|
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);
|
dwCertEncodingType, pInfo, aiKeyAlg, dwFlags, pvAuxInfo, phKey);
|
||||||
|
|
||||||
ret = CryptDecodeObject(dwCertEncodingType, RSA_CSP_PUBLICKEYBLOB,
|
ret = CryptDecodeObject(dwCertEncodingType, RSA_CSP_PUBLICKEYBLOB,
|
||||||
|
|
Loading…
Reference in New Issue