bool SessionManager::disableEncryption( std::string addr ) { lockSessions(); SessionEntry* entry = findSessionByAddress( addr ); if ( entry == NULL ) { unlockSessions(); return false; } entry->disableEncryption(); unlockSessions(); return true; }
bool SessionManager::disableEncryption( std::string addr ) { lockSessions(); SessionEntry* entry = findSessionByAddress( addr ); if ( entry == NULL ) { unlockSessions(); return false; } entry->disableEncryption(); unlockSessions(); return true; }