Changeset 74353 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Sep 18, 2018 9:51:33 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 125166
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r74003 r74353 8083 8083 * MediumLockList::Clear() after destroying 8084 8084 * @a *ppHdd 8085 * @param pCryptoSettings Read The crypto read settings to use for setting8086 * up decryption of the VDISK. This object8085 * @param pCryptoSettings The crypto settings to use for setting up 8086 * decryption/encryption of the VDISK. This object 8087 8087 * must be alive until the VDISK is destroyed! 8088 8088 */ 8089 8089 HRESULT Medium::i_openForIO(bool fWritable, SecretKeyStore *pKeyStore, PVDISK *ppHdd, MediumLockList *pMediumLockList, 8090 MediumCryptoFilterSettings *pCryptoSettings Read)8090 MediumCryptoFilterSettings *pCryptoSettings) 8091 8091 { 8092 8092 /* … … 8173 8173 itKeyId->second.c_str(), vrc); 8174 8174 8175 i_taskEncryptSettingsSetup(pCryptoSettings Read, NULL, itKeyStore->second.c_str(), (const char *)pKey->getKeyBuffer(),8175 i_taskEncryptSettingsSetup(pCryptoSettings, NULL, itKeyStore->second.c_str(), (const char *)pKey->getKeyBuffer(), 8176 8176 false /* fCreateKeyStore */); 8177 vrc = VDFilterAdd(pHdd, "CRYPT", VD_FILTER_FLAGS_ READ, pCryptoSettingsRead->vdFilterIfaces);8177 vrc = VDFilterAdd(pHdd, "CRYPT", VD_FILTER_FLAGS_DEFAULT, pCryptoSettings->vdFilterIfaces); 8178 8178 pKeyStore->releaseSecretKey(itKeyId->second); 8179 8179 if (vrc == VERR_VD_PASSWORD_INCORRECT)
Note:
See TracChangeset
for help on using the changeset viewer.