VirtualBox

Changeset 98302 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Jan 25, 2023 9:07:43 AM (2 years ago)
Author:
vboxsync
Message:

FE/SDL. bugref:9449. Removing secure label related code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r98103 r98302  
    710710        RTPrintf("Accessing the machine in read-only mode:\n");
    711711        readAndChangeMachineSettings(machine);
    712 #if 0
    713         if (argc != 2)
    714         {
    715             RTPrintf("Error: a string has to be supplied!\n");
    716         }
    717         else
    718         {
    719             Bstr secureLabel = argv[1];
    720             machine->COMSETTER(ExtraData)(L"VBoxSDL/SecureLabel", secureLabel);
    721         }
    722 #endif
    723712    }
    724713    while (0);
     
    11421131        RTPrintf("Getting machine session object...\n");
    11431132        CHECK_RC_BREAK(session->COMGETTER(Machine)(sessionMachine.asOutParam()));
    1144 
    1145 #if 0
    1146         Bstr extraDataKey = "VBoxSDL/SecureLabel";
    1147         Bstr extraData = "Das kommt jetzt noch viel krasser vom total konkreten API!";
    1148         CHECK_RC(sessionMachine->SetExtraData(extraDataKey, extraData));
    1149 #endif
    11501133#if 0
    11511134        ComPtr<IConsole> console;
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