https://gitlab.synchro.net/main/sbbs/-/commit/86f679ba89ed37dc6434658a
Modified Files:
src/ssh/CMakeLists.txt deucessh.h ssh-trans.c src/ssh/test/test_transport.c
Log Message:
Add dssh_transport_set_version() public API
New function to set the SSH software version and optional comment
strings used in the version exchange (RFC 4253 s4.2). Validates:
- software_version: non-NULL, non-empty, printable US-ASCII (0x21-0x7E);
pass NULL to keep the library's built-in default
- comment: printable US-ASCII (0x20-0x7E), spaces allowed; NULL to omit
- Combined "SSH-2.0-version SP comment CR LF" must fit in 255 bytes
- Must be called before any session is initialized
Default version string "DeuceSSH-X.Y" now derived from PROJECT_VERSION
via DSSH_VERSION_STRING compile definition.
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net