Skip to content

Commit

Permalink
fix(server): allow to use basic RDP/no security
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <[email protected]>
  • Loading branch information
elmarco committed Jan 21, 2025
1 parent b2a4609 commit d33293c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ironrdp-acceptor/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ impl Sequence for Acceptor {
SecurityProtocol::HYBRID
} else if protocols.intersects(SecurityProtocol::SSL) {
SecurityProtocol::SSL
} else if self.security.is_empty() {
SecurityProtocol::empty()
} else {
return Err(ConnectorError::general("failed to negotiate security protocol"));
};
Expand Down

0 comments on commit d33293c

Please sign in to comment.