VirtualBox

Ignore:
Timestamp:
Jul 12, 2023 12:03:36 AM (19 months ago)
Author:
vboxsync
Message:

IPRT/PKCS8: Tweak for OpenSSL 1.0.2 / ol7. bugref:10299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/key-file.cpp

    r100528 r100531  
    223223        unsigned char *puchDecrypted = NULL;
    224224        puchDecrypted = PKCS12_pbe_crypt(pOsslAlgoRet, pszPassword, (int)strlen(pszPassword),
    225                                          pEncryptedKey->EncryptedData.Asn1Core.uData.puch,
     225                                         (unsigned char *)pEncryptedKey->EncryptedData.Asn1Core.uData.puch, /* cast for v1.0.x */
    226226                                         (int)pEncryptedKey->EncryptedData.Asn1Core.cb,
    227227                                         &puchDecrypted, &cbDecrypted, 0 /*en_de*/);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette