"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/crypt32/msg.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

msg.c  (wine-5.12.tar.xz):msg.c  (wine-5.13.tar.xz)
skipping to change at line 1577 skipping to change at line 1577
PCMSG_KEY_TRANS_ENCRYPT_INFO pKeyTransEncryptInfo, PCMSG_KEY_TRANS_ENCRYPT_INFO pKeyTransEncryptInfo,
DWORD dwFlags, void *pvReserved) DWORD dwFlags, void *pvReserved)
{ {
CERT_PUBLIC_KEY_INFO keyInfo; CERT_PUBLIC_KEY_INFO keyInfo;
HCRYPTKEY expKey; HCRYPTKEY expKey;
BOOL ret; BOOL ret;
ret = CRYPT_ConstructAlgorithmId(&keyInfo.Algorithm, ret = CRYPT_ConstructAlgorithmId(&keyInfo.Algorithm,
&pKeyTransEncodeInfo->KeyEncryptionAlgorithm); &pKeyTransEncodeInfo->KeyEncryptionAlgorithm);
if (ret) if (ret)
CRYPT_ConstructBitBlob(&keyInfo.PublicKey, ret = CRYPT_ConstructBitBlob(&keyInfo.PublicKey,
&pKeyTransEncodeInfo->RecipientPublicKey); &pKeyTransEncodeInfo->RecipientPublicKey);
if (ret) if (ret)
ret = CryptImportPublicKeyInfo(pKeyTransEncodeInfo->hCryptProv, ret = CryptImportPublicKeyInfo(pKeyTransEncodeInfo->hCryptProv,
X509_ASN_ENCODING, &keyInfo, &expKey); X509_ASN_ENCODING, &keyInfo, &expKey);
if (ret) if (ret)
{ {
DWORD size; DWORD size;
ret = CryptExportKey(pContentEncryptInfo->hContentEncryptKey, expKey, ret = CryptExportKey(pContentEncryptInfo->hContentEncryptKey, expKey,
SIMPLEBLOB, 0, NULL, &size); SIMPLEBLOB, 0, NULL, &size);
if (ret) if (ret)
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)