Changeset 108149 in vbox
- Timestamp:
- Feb 11, 2025 1:05:15 AM (9 days ago)
- svn:sync-xref-src-repo-rev:
- 167459
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/VRDEServerImpl.cpp
r106164 r108149 651 651 HRESULT VRDEServer::getVRDEProperty(const com::Utf8Str &aKey, com::Utf8Str &aValue) 652 652 { 653 /* Special case for the server certificate because it might be created automatically by the code below. */654 if ( aKey == "Security/ServerCertificate"655 || aKey == "Security/ServerPrivateKey")656 {657 BOOL certificateGenerated = false;658 HRESULT hrc = i_certificateRepair(certificateGenerated);659 if (FAILED(hrc))660 LogRel((("Failed to auto generate server key and certificate: (%Rhrc)\n"), hrc));661 else if (certificateGenerated)662 {663 AutoWriteLock mlock(mParent COMMA_LOCKVAL_SRC_POS);664 mParent->i_setModified(Machine::IsModified_VRDEServer);665 mlock.release();666 }667 }668 653 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 669 654 settings::StringsMap::const_iterator it = mData->mapProperties.find(aKey);
Note:
See TracChangeset
for help on using the changeset viewer.