Mercurial > dropbear
comparison cli-service.c @ 641:2b1bb792cd4d dropbear-tfm
- Update tfm changes to current default tip
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 21 Nov 2011 19:52:28 +0800 |
parents | a98a2138364a |
children |
comparison
equal
deleted
inserted
replaced
640:76097ec1a29a | 641:2b1bb792cd4d |
---|---|
70 if (cli_ses.state == SERVICE_CONN_REQ_SENT | 70 if (cli_ses.state == SERVICE_CONN_REQ_SENT |
71 && len == SSH_SERVICE_CONNECTION_LEN | 71 && len == SSH_SERVICE_CONNECTION_LEN |
72 && strncmp(SSH_SERVICE_CONNECTION, servicename, len) == 0) { | 72 && strncmp(SSH_SERVICE_CONNECTION, servicename, len) == 0) { |
73 | 73 |
74 if (ses.authstate.authdone != 1) { | 74 if (ses.authstate.authdone != 1) { |
75 dropbear_exit("request for connection before auth"); | 75 dropbear_exit("Request for connection before auth"); |
76 } | 76 } |
77 | 77 |
78 cli_ses.state = SERVICE_CONN_ACCEPT_RCVD; | 78 cli_ses.state = SERVICE_CONN_ACCEPT_RCVD; |
79 m_free(servicename); | 79 m_free(servicename); |
80 TRACE(("leave recv_msg_service_accept: done ssh-connection")) | 80 TRACE(("leave recv_msg_service_accept: done ssh-connection")) |
81 return; | 81 return; |
82 } | 82 } |
83 | 83 |
84 dropbear_exit("unrecognised service accept"); | 84 dropbear_exit("Unrecognised service accept"); |
85 } | 85 } |