VirtualBox

Changeset 74362 in vbox for trunk/src


Ignore:
Timestamp:
Sep 19, 2018 9:50:35 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/cipher: fixed assertion in encryption code. bugref:9246

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/cipher-openssl.cpp

    r74352 r74362  
    235235                Assert(cbEncrypted1 <= (ssize_t)cbNeeded);
    236236                int cbEncrypted2 = 0;
    237                 rcOssl = EVP_DecryptFinal(pCipherCtx, (unsigned char *)pvEncrypted + cbEncrypted1, &cbEncrypted1);
     237                rcOssl = EVP_DecryptFinal(pCipherCtx, (unsigned char *)pvEncrypted + cbEncrypted1, &cbEncrypted2);
    238238                if (rcOssl > 0)
    239239                {
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