VirtualBox

vbox的更動 60125 路徑 trunk/src/VBox/Frontends


忽略:
時間撮記:
2016-3-21 下午04:12:53 (9 年 以前)
作者:
vboxsync
訊息:

FE/Qt: ​bugref:8233: VM Settings: General page: Encryption tab: Prevent error situation allowing to encrypt VM with no password.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp

    r56165 r60125  
    292292                m_machine.SetName(generalData.m_strName);
    293293
    294             /* Encryption tab data: */
    295             if (generalData.m_fEncryptionEnabled != m_cache.base().m_fEncryptionEnabled ||
    296                 generalData.m_fEncryptionCipherChanged != m_cache.base().m_fEncryptionCipherChanged ||
    297                 generalData.m_fEncryptionPasswordChanged != m_cache.base().m_fEncryptionPasswordChanged)
     294            /* Encryption tab data:
     295             * Make sure it either encryption is changed itself,
     296             * or the encryption was already enabled and either cipher or password is changed. */
     297            if (   generalData.m_fEncryptionEnabled != m_cache.base().m_fEncryptionEnabled
     298                || (   m_cache.base().m_fEncryptionEnabled
     299                    && (   generalData.m_fEncryptionCipherChanged != m_cache.base().m_fEncryptionCipherChanged
     300                        || generalData.m_fEncryptionPasswordChanged != m_cache.base().m_fEncryptionPasswordChanged)))
    298301            {
    299302                /* Cipher attribute changed? */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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