mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
buf_getstring and buf_putstring now use non-unsigned char*
This commit is contained in:
@@ -194,7 +194,7 @@ static void send_msg_service_request(char* servicename) {
|
||||
CHECKCLEARTOWRITE();
|
||||
|
||||
buf_putbyte(ses.writepayload, SSH_MSG_SERVICE_REQUEST);
|
||||
buf_putstring(ses.writepayload, (const unsigned char *)servicename, strlen(servicename));
|
||||
buf_putstring(ses.writepayload, servicename, strlen(servicename));
|
||||
|
||||
encrypt_packet();
|
||||
TRACE(("leave send_msg_service_request"))
|
||||
|
||||
Reference in New Issue
Block a user