diff options
Diffstat (limited to 'common-channel.c')
-rw-r--r-- | common-channel.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common-channel.c b/common-channel.c index 62e4be1..634d823 100644 --- a/common-channel.c +++ b/common-channel.c @@ -1099,3 +1099,16 @@ void recv_msg_channel_open_failure() { remove_channel(channel); } #endif /* USING_LISTENERS */ + +void send_msg_request_success() { + CHECKCLEARTOWRITE(); + buf_putbyte(ses.writepayload, SSH_MSG_REQUEST_SUCCESS); + encrypt_packet(); +} + +void send_msg_request_failure() { + CHECKCLEARTOWRITE(); + buf_putbyte(ses.writepayload, SSH_MSG_REQUEST_FAILURE); + encrypt_packet(); +} + |