This commit is contained in:
nora 2024-08-15 16:57:32 +02:00
parent d34db09fd1
commit c0f9687696
11 changed files with 529 additions and 505 deletions

View file

@ -5,7 +5,7 @@ pub use ssh_transport as transport;
pub use ssh_transport::{Result, SshStatus};
pub struct ServerConnection {
transport: ssh_transport::ServerConnection,
transport: ssh_transport::server::ServerConnection,
state: ServerConnectionState,
}
@ -15,7 +15,7 @@ enum ServerConnectionState {
}
impl ServerConnection {
pub fn new(transport: ssh_transport::ServerConnection) -> Self {
pub fn new(transport: ssh_transport::server::ServerConnection) -> Self {
Self {
transport,
state: ServerConnectionState::Auth(auth::BadAuth::new()),