VirtualBox

儲存庫 vbox 的更動 80730


忽略:
時間撮記:
2019-9-11 上午10:46:05 (6 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
133272
訊息:

Main/MediumImpl: Build fix if VBOX_WITH_EXTPACK= is not defined.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r80585 r80730  
    82158215        if (itKeyStore != pBase->m->mapProperties.end())
    82168216        {
     8217#ifdef VBOX_WITH_EXTPACK
    82178218            settings::StringsMap::iterator itKeyId = pBase->m->mapProperties.find("CRYPT/KeyId");
    82188219
    8219 #ifdef VBOX_WITH_EXTPACK
    82208220            ExtPackManager *pExtPackManager = m->pVirtualBox->i_getExtPackManager();
    82218221            if (pExtPackManager->i_isExtPackUsable(ORACLE_PUEL_EXTPACK_NAME))
     
    82418241                               tr("Encryption is not supported because the extension pack '%s' is missing"),
    82428242                               ORACLE_PUEL_EXTPACK_NAME);
    8243 #else
    8244             throw setError(VBOX_E_NOT_SUPPORTED,
    8245                            tr("Encryption is not supported because extension pack support is not built in"));
    8246 #endif
    82478243
    82488244            if (itKeyId == pBase->m->mapProperties.end())
     
    82738269                throw setErrorBoth(VBOX_E_INVALID_OBJECT_STATE, vrc, tr("Failed to load the decryption filter: %s"),
    82748270                                   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 */
    82758276        }
    82768277
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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