VirtualBox

Changeset 78183 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Apr 17, 2019 7:55:14 PM (6 years ago)
Author:
vboxsync
Message:

Runtime/common/crypto/cipher-openssl.cpp: Fix copy and paste bug

File:
1 edited

Legend:

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

    r76553 r78183  
    235235                Assert(cbEncrypted1 <= (ssize_t)cbNeeded);
    236236                int cbEncrypted2 = 0;
    237                 rcOssl = EVP_DecryptFinal(pCipherCtx, (unsigned char *)pvEncrypted + cbEncrypted1, &cbEncrypted2);
     237                rcOssl = EVP_EncryptFinal(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