Fix ssh_send_issue_banner() API

I forgot to send the additional language tag when sending the banner. Ref : https://datatracker.ietf.org/doc/html/rfc4252#section-5.4

If there is no language tag, ssh connection with CMD(Powershell) is not possible.

It was a deprecated field when I referenced OpenSSH. It just appends an empty string to the language tag field. So, the ssh_send_issue_banner() API needs to be fixed.

Signed-off-by: Sueng Min Park smpark@pnpsecure.com

Checklist

  • Commits have Signed-off-by: with name/author being identical to the commit author
  • Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated

Reviewer's checklist:

  • Any issues marked for closing are addressed
  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTING.md
  • This feature/change has adequate documentation added
  • No obvious mistakes in the code

Merge request reports

Loading