https://gitlab.synchro.net/main/sbbs/-/commit/2847d48b73aae37bc5d65896
Modified Files:
src/ssh/TODO.md ssh-trans.c ssh-trans.h ssh.c src/ssh/test/dssh_test_internal.h
Log Message:
Move session lifecycle to ssh-trans.c, demote 9 functions to static
Move dssh_session_init, dssh_session_terminate, dssh_session_is_terminated, dssh_session_cleanup from ssh.c to ssh-trans.c so they can call transport_init/transport_cleanup directly.
9 ssh-trans.c functions demoted from DSSH_PRIVATE:
- transport_init, transport_cleanup, find_kex static
- version_exchange, kexinit, kex, newkeys, rekey, rekey_needed
DSSH_TESTABLE (static in production, visible to tests)
Removes 11 declarations from ssh-trans.h, cleans up
dssh_test_internal.h. TODO items 98-99 added (callback setter
UB, typedef layering).
Co-Authored-By: Claude Opus 4.6 (1M context) <
[email protected]>
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net