Mercurial > dropbear
comparison cli-service.c @ 34:e2a1eaa19f22
Client mostly works up to password auth
Need to rework algo-choosing etc, since server is now broken.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 28 Jul 2004 16:44:16 +0000 |
parents | f789045062e6 |
children | 9ee8996a375f |
comparison
equal
deleted
inserted
replaced
33:f789045062e6 | 34:e2a1eaa19f22 |
---|---|
10 | 10 |
11 TRACE(("enter send_msg_service_request: servicename='%s'", servicename)); | 11 TRACE(("enter send_msg_service_request: servicename='%s'", servicename)); |
12 | 12 |
13 CHECKCLEARTOWRITE(); | 13 CHECKCLEARTOWRITE(); |
14 | 14 |
15 buf_putbyte(ses.payload, SSH_MSG_SERVICE_REQUEST); | 15 buf_putbyte(ses.writepayload, SSH_MSG_SERVICE_REQUEST); |
16 buf_putstring(ses.payload, servicename, strlen(servicename)); | 16 buf_putstring(ses.writepayload, servicename, strlen(servicename)); |
17 | 17 |
18 encrypt_packet(); | 18 encrypt_packet(); |
19 TRACE(("leave send_msg_service_request")); | 19 TRACE(("leave send_msg_service_request")); |
20 } | 20 } |
21 | 21 |