Changeset 80730 in vbox
- Timestamp:
- Sep 11, 2019 10:46:05 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r80585 r80730 8215 8215 if (itKeyStore != pBase->m->mapProperties.end()) 8216 8216 { 8217 #ifdef VBOX_WITH_EXTPACK 8217 8218 settings::StringsMap::iterator itKeyId = pBase->m->mapProperties.find("CRYPT/KeyId"); 8218 8219 8219 #ifdef VBOX_WITH_EXTPACK8220 8220 ExtPackManager *pExtPackManager = m->pVirtualBox->i_getExtPackManager(); 8221 8221 if (pExtPackManager->i_isExtPackUsable(ORACLE_PUEL_EXTPACK_NAME)) … … 8241 8241 tr("Encryption is not supported because the extension pack '%s' is missing"), 8242 8242 ORACLE_PUEL_EXTPACK_NAME); 8243 #else8244 throw setError(VBOX_E_NOT_SUPPORTED,8245 tr("Encryption is not supported because extension pack support is not built in"));8246 #endif8247 8243 8248 8244 if (itKeyId == pBase->m->mapProperties.end()) … … 8273 8269 throw setErrorBoth(VBOX_E_INVALID_OBJECT_STATE, vrc, tr("Failed to load the decryption filter: %s"), 8274 8270 i_vdError(vrc).c_str()); 8271 #else 8272 RT_NOREF(pKeyStore, pCryptoSettings); 8273 throw setError(VBOX_E_NOT_SUPPORTED, 8274 tr("Encryption is not supported because extension pack support is not built in")); 8275 #endif /* VBOX_WITH_EXTPACK */ 8275 8276 } 8276 8277
Note:
See TracChangeset
for help on using the changeset viewer.